librb: win32: more cleanups

This commit is contained in:
William Pitcock 2016-03-20 00:41:01 -05:00
parent e49147e56e
commit b1f7e4098f
3 changed files with 3 additions and 3 deletions

View file

@ -150,7 +150,7 @@ void rb_setselect(rb_fde_t *, unsigned int type, PF * handler, void *client_data
void rb_init_netio(void); void rb_init_netio(void);
int rb_select(unsigned long); int rb_select(unsigned long);
int rb_fd_ssl(rb_fde_t *F); int rb_fd_ssl(rb_fde_t *F);
int rb_get_fd(rb_fde_t *F); rb_platform_fd_t rb_get_fd(rb_fde_t *F);
const char *rb_get_ssl_strerror(rb_fde_t *F); const char *rb_get_ssl_strerror(rb_fde_t *F);
int rb_get_ssl_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN], int method); int rb_get_ssl_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN], int method);

View file

@ -970,7 +970,7 @@ rb_fd_ssl(rb_fde_t *F)
return 0; return 0;
} }
int rb_platform_fd_t
rb_get_fd(rb_fde_t *F) rb_get_fd(rb_fde_t *F)
{ {
if(F == NULL) if(F == NULL)

View file

@ -78,7 +78,7 @@ rb_helper_child(rb_helper_cb * read_cb, rb_helper_cb * error_cb, log_cb * ilog,
if(x > 2) /* don't undo what we just did */ if(x > 2) /* don't undo what we just did */
close(x); close(x);
#else #else
x = 0; /* shut gcc up */ (void) x; /* shut gcc up */
#endif #endif
rb_lib_init(ilog, irestart, idie, 0, maxfd, dh_size, fd_heap_size); rb_lib_init(ilog, irestart, idie, 0, maxfd, dh_size, fd_heap_size);