diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-19 22:05:25 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-19 22:05:25 -0400 |
commit | 3468d79391b13f4524cbdafd7085bca99a01d787 (patch) | |
tree | c752674e89e691f1a567914f01bbdd836b25b196 | |
parent | 9836d6d22ac22fe7be584da2006ae8d9479096cc (diff) | |
download | fcgiwrap-3468d79391b13f4524cbdafd7085bca99a01d787.tar.xz fcgiwrap-3468d79391b13f4524cbdafd7085bca99a01d787.zip |
Cleanup -Wmissing-prototypes compiler warnings
-rw-r--r-- | fcgiwrap.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -348,7 +348,7 @@ static void fcgi_pass(struct fcgi_context *fc) fcgi_finish(fc, "reading CGI reply (no response received)"); } -int check_file_perms(const char *path) +static int check_file_perms(const char *path) { struct stat ls; struct stat fs; @@ -378,7 +378,7 @@ int check_file_perms(const char *path) } } -char *get_cgi_filename() /* and fixup environment */ +static char *get_cgi_filename(void) /* and fixup environment */ { int buflen = 1, docrootlen; char *buf = NULL; @@ -461,7 +461,7 @@ static int blacklisted_env(const char *var_name, const char *var_name_end) return 0; } -static void inherit_environment() +static void inherit_environment(void) { char * const * p; char *q; @@ -495,7 +495,7 @@ static void error_403(const char *reason, const char *filename) exit(99); } -static void handle_fcgi_request() +static void handle_fcgi_request(void) { int pipe_in[2]; int pipe_out[2]; @@ -665,7 +665,7 @@ static int listen_on_fd(int fd) { return 0; } -int setup_socket(char *url) { +static int setup_socket(char *url) { char *p = url; char *q; int fd; |