libbsd: Branch 'master' - 3 commits
Guillem Jover
guillem at kemper.freedesktop.org
Sat Jul 9 13:29:17 PDT 2011
Makefile | 2 +-
include/bsd/unistd.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0acd86f6eb1637b54911428d067e15c9a414c883
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Jul 5 21:01:57 2011 +0200
build: Use -isystem instead of -I
diff --git a/Makefile b/Makefile
index 936d703..aa3acb5 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ CFLAGS ?= -g -Wall -Wextra -Wno-unused-variable
LDFLAGS ?=
# Internal makefile variables
-MK_CPPFLAGS := -Iinclude/bsd/ \
+MK_CPPFLAGS := -isystem include/bsd/ \
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
-D_GNU_SOURCE -D__REENTRANT
MK_CFLAGS :=
commit 901ed630fc64fca828e031bc8fa6780db9f05db1
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Jul 5 21:01:18 2011 +0200
build: Do not add -Iinclude/ to MK_CPPFLAGS
The source code should not be using any of the headers there.
diff --git a/Makefile b/Makefile
index edff3f1..936d703 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ CFLAGS ?= -g -Wall -Wextra -Wno-unused-variable
LDFLAGS ?=
# Internal makefile variables
-MK_CPPFLAGS := -Iinclude/bsd/ -Iinclude/ \
+MK_CPPFLAGS := -Iinclude/bsd/ \
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
-D_GNU_SOURCE -D__REENTRANT
MK_CFLAGS :=
commit 059f89ca95991d5570980846020385f8947be60e
Author: Guillem Jover <guillem at hadrons.org>
Date: Tue Jul 5 20:59:04 2011 +0200
Add missing semicolon to bsd_getopt() declaration
Accidentally lost in commit 4a6303ba3b64504ab0077b9cfebd2a4b918d531d.
diff --git a/include/bsd/unistd.h b/include/bsd/unistd.h
index edb0ec5..b6f070a 100644
--- a/include/bsd/unistd.h
+++ b/include/bsd/unistd.h
@@ -49,7 +49,7 @@ extern int optreset;
#define getopt(argc, argv, optstr) bsd_getopt(argc, argv, optstr)
#endif
-int bsd_getopt(int argc, char * const argv[], const char *shortopts)
+int bsd_getopt(int argc, char * const argv[], const char *shortopts);
mode_t getmode(const void *set, mode_t mode);
void *setmode(const char *mode_str);
More information about the libbsd
mailing list