Author: guillem
Date: 2006-02-14 07:01:21 +0000 (Tue, 14 Feb 2006)
New Revision: 1197

Modified:
   trunk/libbsd/ChangeLog
   trunk/libbsd/include/bsd/getopt.h
   trunk/libbsd/include/bsd/stdlib.h
Log:
Removed unused includes.
Protect header.


Modified: trunk/libbsd/ChangeLog
===================================================================
--- trunk/libbsd/ChangeLog      2006-02-14 06:55:53 UTC (rev 1196)
+++ trunk/libbsd/ChangeLog      2006-02-14 07:01:21 UTC (rev 1197)
@@ -1,5 +1,10 @@
 2006-02-14  Guillem Jover  <[EMAIL PROTECTED]>
 
+       * include/bsd/stdlib.h: Remove <sys/types.h> and <stdio.h>.
+       * include/bsd/getopt.h: Protect header from multiple inclusion.
+
+2006-02-14  Guillem Jover  <[EMAIL PROTECTED]>
+
        * include/bsd/bsd.h: Remove commented out macros.
 
 2006-02-14  Guillem Jover  <[EMAIL PROTECTED]>

Modified: trunk/libbsd/include/bsd/getopt.h
===================================================================
--- trunk/libbsd/include/bsd/getopt.h   2006-02-14 06:55:53 UTC (rev 1196)
+++ trunk/libbsd/include/bsd/getopt.h   2006-02-14 07:01:21 UTC (rev 1197)
@@ -1,4 +1,10 @@
+#ifndef LIBBSD_GETOPT_H
+#define LIBBSD_GETOPT_H
+
 #include <getopt.h>
+
 extern int optreset;
 
 int bsd_getopt (int, char **, char *);
+
+#endif

Modified: trunk/libbsd/include/bsd/stdlib.h
===================================================================
--- trunk/libbsd/include/bsd/stdlib.h   2006-02-14 06:55:53 UTC (rev 1196)
+++ trunk/libbsd/include/bsd/stdlib.h   2006-02-14 07:01:21 UTC (rev 1197)
@@ -1,9 +1,6 @@
 #ifndef LIBBSD_STDLIB_H
 #define LIBBSD_STDLIB_H
 
-#include <sys/types.h>
-#include <stdio.h>
-
 const char *fmtcheck(const char *, const char *);
 
 #endif


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to