hgfs: resolve gcc -W warnings
This commit is contained in:
parent
472a91708a
commit
80b03d929d
@ -24,7 +24,7 @@ PRIVATE struct optset optset_table[] = {
|
|||||||
{ "dmask", OPT_INT, &opt.dir_mask, 8 },
|
{ "dmask", OPT_INT, &opt.dir_mask, 8 },
|
||||||
{ "icase", OPT_BOOL, &opt.case_insens, TRUE },
|
{ "icase", OPT_BOOL, &opt.case_insens, TRUE },
|
||||||
{ "noicase", OPT_BOOL, &opt.case_insens, FALSE },
|
{ "noicase", OPT_BOOL, &opt.case_insens, FALSE },
|
||||||
{ NULL }
|
{ NULL, 0, NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SEF functions and variables. */
|
/* SEF functions and variables. */
|
||||||
@ -35,9 +35,7 @@ FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
|||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* sef_cb_init_fresh *
|
* sef_cb_init_fresh *
|
||||||
*===========================================================================*/
|
*===========================================================================*/
|
||||||
PRIVATE int sef_cb_init_fresh(type, info)
|
PRIVATE int sef_cb_init_fresh(int UNUSED(type), sef_init_info_t *UNUSED(info))
|
||||||
int type;
|
|
||||||
sef_init_info_t *info;
|
|
||||||
{
|
{
|
||||||
/* Initialize this file server. Called at startup time.
|
/* Initialize this file server. Called at startup time.
|
||||||
*/
|
*/
|
||||||
@ -96,7 +94,7 @@ PRIVATE void sef_cb_signal_handler(int signo)
|
|||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* sef_local_startup *
|
* sef_local_startup *
|
||||||
*===========================================================================*/
|
*===========================================================================*/
|
||||||
PRIVATE void sef_local_startup()
|
PRIVATE void sef_local_startup(void)
|
||||||
{
|
{
|
||||||
/* Register init callbacks. */
|
/* Register init callbacks. */
|
||||||
sef_setcb_init_fresh(sef_cb_init_fresh);
|
sef_setcb_init_fresh(sef_cb_init_fresh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user