mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-04-16 06:56:43 +02: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>
|
2006-02-14 Guillem Jover <guillem@debian.org>
|
||||||
|
|
||||||
* include/bsd/bsd.h: Remove commented out macros.
|
* include/bsd/bsd.h: Remove commented out macros.
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
|
#ifndef LIBBSD_GETOPT_H
|
||||||
|
#define LIBBSD_GETOPT_H
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
extern int optreset;
|
extern int optreset;
|
||||||
|
|
||||||
int bsd_getopt (int, char **, char *);
|
int bsd_getopt (int, char **, char *);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
#ifndef LIBBSD_STDLIB_H
|
#ifndef LIBBSD_STDLIB_H
|
||||||
#define LIBBSD_STDLIB_H
|
#define LIBBSD_STDLIB_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
const char *fmtcheck(const char *, const char *);
|
const char *fmtcheck(const char *, const char *);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user