diff options
author | Cyril Brulebois <kibi@debian.org> | 2012-08-31 14:11:41 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2012-08-31 14:11:41 +0000 |
commit | 0c6a56454362cd35aba697c1fdfae432c612a851 (patch) | |
tree | 61dde1b3a82c9b327ad39e92e01073595391e66d /src/mod_setenv.c | |
parent | f4ba2d4f24dd70ecfca6e98cda74891a2026fb42 (diff) | |
download | lighttpd-git-0c6a56454362cd35aba697c1fdfae432c612a851.tar.gz |
Fix non-ANSI function declarations.
The proper way to declare a function taking no parameters isn't:
foo bar();
But this instead:
foo bar(void);
Signed-off-by: Cyril Brulebois <kibi@debian.org>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2843 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_setenv.c')
-rw-r--r-- | src/mod_setenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_setenv.c b/src/mod_setenv.c index 4419b61f..d9cf94d9 100644 --- a/src/mod_setenv.c +++ b/src/mod_setenv.c @@ -30,7 +30,7 @@ typedef struct { plugin_config conf; } plugin_data; -static handler_ctx * handler_ctx_init() { +static handler_ctx * handler_ctx_init(void) { handler_ctx * hctx; hctx = calloc(1, sizeof(*hctx)); |