summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-30 11:21:26 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-30 11:21:26 -0500
commit551b819fe26edf69619ecf0bd9507eed155c259a (patch)
treeb05f728ab3a10b0cc36c9ba7eed395192fc1ac16 /src/c
parent0442d9e993491bbdfc3f8abca2cd5ffc8dd5134d (diff)
Update Makefile.in's with new Autotools; add extra 'return NULL' to placate some -Wall
Diffstat (limited to 'src/c')
-rw-r--r--src/c/Makefile.in2
-rw-r--r--src/c/fastcgi.c2
-rw-r--r--src/c/http.c2
-rw-r--r--src/c/urweb.c4
4 files changed, 9 insertions, 1 deletions
diff --git a/src/c/Makefile.in b/src/c/Makefile.in
index cdcd0226..0eb09175 100644
--- a/src/c/Makefile.in
+++ b/src/c/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
diff --git a/src/c/fastcgi.c b/src/c/fastcgi.c
index 24617f89..2c9d1da1 100644
--- a/src/c/fastcgi.c
+++ b/src/c/fastcgi.c
@@ -478,6 +478,8 @@ static void *worker(void *data) {
fastcgi_input_reset(in);
uw_reset(ctx);
}
+
+ return NULL;
}
static void help(char *cmd) {
diff --git a/src/c/http.c b/src/c/http.c
index 7a8110dc..80131674 100644
--- a/src/c/http.c
+++ b/src/c/http.c
@@ -210,6 +210,8 @@ static void *worker(void *data) {
done:
uw_reset(ctx);
}
+
+ return NULL;
}
static void help(char *cmd) {
diff --git a/src/c/urweb.c b/src/c/urweb.c
index c97ce5f8..036740aa 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -3279,6 +3279,10 @@ uw_Basis_time uw_Basis_now(uw_context ctx) {
return time(NULL);
}
+uw_Basis_time uw_Basis_minusSeconds(uw_context ctx, uw_Basis_time tm, uw_Basis_int n) {
+ return tm - n;
+}
+
void *uw_get_global(uw_context ctx, char *name) {
int i;