[Pkg-shadow-commits] r1633 - in upstream/trunk: . lib libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jan 5 13:23:23 UTC 2008


Author: nekral-guest
Date: 2008-01-05 13:23:22 +0000 (Sat, 05 Jan 2008)
New Revision: 1633

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/fputsx.c
   upstream/trunk/lib/port.c
   upstream/trunk/libmisc/pwd_init.c
   upstream/trunk/libmisc/strtoday.c
   upstream/trunk/libmisc/tz.c
   upstream/trunk/libmisc/utmp.c
   upstream/trunk/libmisc/xmalloc.c
Log:
Include "prototypes.h" to make sure the exported prototypes are
the ones used for the definition of functions.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/ChangeLog	2008-01-05 13:23:22 UTC (rev 1633)
@@ -4,6 +4,10 @@
 	putgrent prototype.
 	* lib/prototypes.h: "shadowio.h" was included for the definition
 	of the spwd structure. Replace this include by <shadow.h>
+	* libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
+	libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c:
+	Include "prototypes.h" to make sure the exported prototypes are
+	the ones used for the definition of functions.
 
 2008-01-01  Nicolas François  <nicolas.francois at centraliens.net>
 

Modified: upstream/trunk/lib/fputsx.c
===================================================================
--- upstream/trunk/lib/fputsx.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/lib/fputsx.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -31,6 +31,7 @@
 
 #include <stdio.h>
 #include "defines.h"
+#include "prototypes.h"
 
 #ident "$Id$"
 

Modified: upstream/trunk/lib/port.c
===================================================================
--- upstream/trunk/lib/port.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/lib/port.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -35,6 +35,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include "defines.h"
+#include "prototypes.h"
 #include "port.h"
 extern int errno;
 

Modified: upstream/trunk/libmisc/pwd_init.c
===================================================================
--- upstream/trunk/libmisc/pwd_init.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/libmisc/pwd_init.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -10,6 +10,9 @@
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif
+
+#include "prototypes.h"
+
 /*
  * pwd_init - ignore signals, and set resource limits to safe
  * values.  Call this before modifying password files, so that

Modified: upstream/trunk/libmisc/strtoday.c
===================================================================
--- upstream/trunk/libmisc/strtoday.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/libmisc/strtoday.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -36,6 +36,8 @@
 #ident "$Id$"
 
 #include "defines.h"
+#include "prototypes.h"
+
 #ifndef USE_GETDATE
 #define USE_GETDATE 1
 #endif

Modified: upstream/trunk/libmisc/tz.c
===================================================================
--- upstream/trunk/libmisc/tz.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/libmisc/tz.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -34,6 +34,7 @@
 #include <stdio.h>
 #include <string.h>
 #include "defines.h"
+#include "prototypes.h"
 #include "getdef.h"
 /*
  * tz - return local timezone name

Modified: upstream/trunk/libmisc/utmp.c
===================================================================
--- upstream/trunk/libmisc/utmp.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/libmisc/utmp.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -30,6 +30,7 @@
 #include <config.h>
 
 #include "defines.h"
+#include "prototypes.h"
 
 #include <utmp.h>
 

Modified: upstream/trunk/libmisc/xmalloc.c
===================================================================
--- upstream/trunk/libmisc/xmalloc.c	2008-01-05 13:07:54 UTC (rev 1632)
+++ upstream/trunk/libmisc/xmalloc.c	2008-01-05 13:23:22 UTC (rev 1633)
@@ -13,6 +13,8 @@
 
 #include <stdio.h>
 #include "defines.h"
+#include "prototypes.h"
+
 char *xmalloc (size_t size)
 {
 	char *ptr;




More information about the Pkg-shadow-commits mailing list