summaryrefslogtreecommitdiff
path: root/src/proc_open.c
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2012-08-31 14:11:41 +0000
committerStefan Bühler <stbuehler@web.de>2012-08-31 14:11:41 +0000
commit0c6a56454362cd35aba697c1fdfae432c612a851 (patch)
tree61dde1b3a82c9b327ad39e92e01073595391e66d /src/proc_open.c
parentf4ba2d4f24dd70ecfca6e98cda74891a2026fb42 (diff)
downloadlighttpd-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/proc_open.c')
-rw-r--r--src/proc_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc_open.c b/src/proc_open.c
index 3c065d00..e9393e09 100644
--- a/src/proc_open.c
+++ b/src/proc_open.c
@@ -331,7 +331,7 @@ int proc_open_buffer(const char *command, buffer *in, buffer *out, buffer *err)
/* {{{ test */
#ifdef DEBUG_PROC_OPEN
-int main() {
+int main(void) {
proc_handler_t proc;
buffer *in = buffer_init(), *out = buffer_init(), *err = buffer_init();
int wstatus;