Minor compile fixes.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 06 Nov 2009 11:12:23 -0800
changeset 136 d914c6063504
parent 135 36e73dbcadf3
child 137 41d5f45750d0
Minor compile fixes.
nph-offload.c
--- a/nph-offload.c	Fri Nov 06 11:12:05 2009 -0800
+++ b/nph-offload.c	Fri Nov 06 11:12:23 2009 -0800
@@ -470,6 +470,8 @@
              tm->tm_year+1900, tm->tm_hour, tm->tm_min, tm->tm_sec);
 } // make_date_header
 
+
+#if GDEBUG
 static void printf_date_header(FILE *out)
 {
     char buf[128];
@@ -478,6 +480,7 @@
     make_date_header(buf, sizeof (buf));
     fprintf(out, "%s", buf);
 } // printf_date_header
+#endif
 
 
 static void terminate(void);
@@ -1030,6 +1033,14 @@
         close(fd);
 } // http_head
 
+static const char *makeNum(int64 num)
+{
+    static char buf[64];
+    snprintf(buf, sizeof (buf), "%lld", (long long) num);
+    return buf;
+} // makeNum
+
+
 
 #if !GNOCACHE
 static int http_get(list **head)
@@ -1046,14 +1057,6 @@
 } // http_get
 
 
-static const char *makeNum(int64 num)
-{
-    static char buf[64];
-    snprintf(buf, sizeof (buf), "%lld", (long long) num);
-    return buf;
-} // makeNum
-
-
 static list *loadMetadata(const char *fname)
 {
     list *retval = NULL;