Remove unused includes and protect header

This commit is contained in:
Guillem Jover 2006-02-14 07:01:21 +00:00
parent 8a2e8584d9
commit 67e48af044
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-02-14 Guillem Jover <guillem@debian.org>
* 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 <guillem@debian.org>
* include/bsd/bsd.h: Remove commented out macros.

View File

@ -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

View File

@ -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