diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-10 17:32:04 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-10 17:32:04 +0100 |
commit | 945758df892447c3c0cf9c6ba4cd6b2cc83da42b (patch) | |
tree | 8072d5ac3c907f5d617574fd9a7d75883bfe31b3 /tools/xenstore/xenstored_core.c | |
parent | 27d7304ed79a09ab0fbf14269154a4a46a20e170 (diff) | |
download | xen-945758df892447c3c0cf9c6ba4cd6b2cc83da42b.tar.gz xen-945758df892447c3c0cf9c6ba4cd6b2cc83da42b.tar.bz2 xen-945758df892447c3c0cf9c6ba4cd6b2cc83da42b.zip |
More build config changes:
- Build -O2 rather than -O3
- Build with -Wstrict-prototypes
- Move target-specific generic compiler switches to Config.mk
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstore/xenstored_core.c')
-rw-r--r-- | tools/xenstore/xenstored_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c index b23aa40fa5..bfa71f56bd 100644 --- a/tools/xenstore/xenstored_core.c +++ b/tools/xenstore/xenstored_core.c @@ -66,7 +66,7 @@ static char *tracefile = NULL; static TDB_CONTEXT *tdb_ctx; static void corrupt(struct connection *conn, const char *fmt, ...); -static void check_store(); +static void check_store(void); #define log(...) \ do { \ @@ -238,7 +238,7 @@ static void trigger_reopen_log(int signal __attribute__((unused))) } -static void reopen_log() +static void reopen_log(void) { if (tracefile) { if (tracefd > 0) @@ -1612,7 +1612,7 @@ static void clean_store(struct hashtable *reachable) } -static void check_store() +static void check_store(void) { char * root = talloc_strdup(NULL, "/"); struct hashtable * reachable = |