Commit f12f8503 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent 903f6868
......@@ -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 );
......
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment