aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Wrapper.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-01-02 12:24:26 -0400
committerJoey Hess <joey@kitenet.net>2014-01-02 12:24:26 -0400
commitbc99b3174cb131a86bc86853d6fb8820021d26f4 (patch)
treed6090700d9ece6e3b788ed2545fb5f1fe8d91ed7 /IkiWiki/Wrapper.pm
parent9273bc5185d9633739c96570402a2c050f3fa7e2 (diff)
downloadikiwiki-bc99b3174cb131a86bc86853d6fb8820021d26f4.tar
ikiwiki-bc99b3174cb131a86bc86853d6fb8820021d26f4.tar.gz
add void prototype
Diffstat (limited to 'IkiWiki/Wrapper.pm')
-rw-r--r--IkiWiki/Wrapper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 84b4b5a2f..b46bc6aa9 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -182,7 +182,7 @@ void addenv(char *var, char *val) {
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);