mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +01:00
Remove unused includes and protect header
This commit is contained in:
parent
8a2e8584d9
commit
67e48af044
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user