server: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings.

This commit is contained in:
Rob Shearman 2010-01-21 11:57:45 +00:00 committed by Alexandre Julliard
parent 903f686899
commit f12f8503a3
2 changed files with 10 additions and 10 deletions

View File

@ -451,8 +451,8 @@ struct inode {
char *name; /* basename name of the inode */
};
struct list inode_hash[ HASH_SIZE ];
struct list wd_hash[ HASH_SIZE ];
static struct list inode_hash[ HASH_SIZE ];
static struct list wd_hash[ HASH_SIZE ];
static int inotify_add_dir( char *path, unsigned int filter );

View File

@ -65,14 +65,14 @@ static void parse_args( int argc, char *argv[] )
static struct option long_options[] =
{
{"debug", 2, 0, 'd'},
{"foreground", 0, 0, 'f'},
{"help", 0, 0, 'h'},
{"kill", 2, 0, 'k'},
{"persistent", 2, 0, 'p'},
{"version", 0, 0, 'v'},
{"wait", 0, 0, 'w'},
{ NULL, 0, 0, 0}
{"debug", 2, NULL, 'd'},
{"foreground", 0, NULL, 'f'},
{"help", 0, NULL, 'h'},
{"kill", 2, NULL, 'k'},
{"persistent", 2, NULL, 'p'},
{"version", 0, NULL, 'v'},
{"wait", 0, NULL, 'w'},
{ NULL, 0, NULL, 0}
};
server_argv0 = argv[0];