Cleanups:
[tinc] / lib / dropin.c
index c26a357..661c455 100644 (file)
@@ -1,7 +1,7 @@
 /*
     dropin.c -- a set of drop-in replacements for libc functions
-    Copyright (C) 2000,2001 Ivo Timmermans <itimmermans@bigfoot.com>,
-                  2000,2001 Guus Sliepen <guus@sliepen.warande.net>
+    Copyright (C) 2000,2001 Ivo Timmermans <ivo@o2w.nl>,
+                  2000,2001 Guus Sliepen <guus@sliepen.eu.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: dropin.c,v 1.1.2.5 2001/11/05 19:06:07 guus Exp $
+    $Id: dropin.c,v 1.1.2.11 2002/07/12 11:45:21 guus Exp $
 */
 
 #include "config.h"
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
 
 #include <xalloc.h>
 
@@ -97,6 +98,8 @@ int daemon(int nochdir, int noclose)
           dup2(fd, 2);
         }
     }
+
+  return 0;
 }
 #endif