]> sipb.mit.edu Git - ikiwiki.git/commitdiff
add void prototype
authorJoey Hess <joey@kitenet.net>
Thu, 2 Jan 2014 16:24:26 +0000 (12:24 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 2 Jan 2014 16:24:26 +0000 (12:24 -0400)
IkiWiki/Wrapper.pm

index 84b4b5a2f298f23bac5d5e223fb4144a7ebd72f1..b46bc6aa9794abdca46f68c8dc753e88daf7019b 100644 (file)
@@ -182,7 +182,7 @@ void addenv(char *var, char *val) {
        newenviron[i++]=s;
 }
 
        newenviron[i++]=s;
 }
 
-set_cgilock_fd (int lockfd) {
+void set_cgilock_fd (int lockfd) {
        char *fd_s=malloc(8);
        sprintf(fd_s, "%i", lockfd);
        setenv("IKIWIKI_CGILOCK_FD", fd_s, 1);
        char *fd_s=malloc(8);
        sprintf(fd_s, "%i", lockfd);
        setenv("IKIWIKI_CGILOCK_FD", fd_s, 1);