libbsd: Branch 'master' - 4 commits

Guillem Jover guillem at kemper.freedesktop.org
Fri Jul 17 04:46:20 PDT 2009


 Makefile            |    2 +-
 include/bsd/cdefs.h |   20 ++++++++++++++++++++
 src/local-elf.h     |    4 ++--
 3 files changed, 23 insertions(+), 3 deletions(-)

New commits:
commit 2543c5a78bc84eca4af52d11b808dc848601e501
Author: Guillem Jover <guillem at hadrons.org>
Date:   Fri Jul 17 13:37:38 2009 +0200

    Release libbsd 0.1.5

diff --git a/Makefile b/Makefile
index eac96f3..eab7afa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 LIB_NAME := libbsd
 LIB_VERSION_MAJOR := 0
 LIB_VERSION_MINOR := 1
-LIB_VERSION_MICRO := 4
+LIB_VERSION_MICRO := 5
 LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR).$(LIB_VERSION_MICRO)
 
 LIB_PKGCONFIG := $(LIB_NAME).pc
commit 33ef70b9e170536115a4139df2c53f6af935418f
Author: Guillem Jover <guillem at hadrons.org>
Date:   Fri Jul 17 13:35:37 2009 +0200

    Add __pure2 dummy macro

diff --git a/include/bsd/cdefs.h b/include/bsd/cdefs.h
index 8736e8c..d6884ad 100644
--- a/include/bsd/cdefs.h
+++ b/include/bsd/cdefs.h
@@ -37,6 +37,10 @@
 # define __dead2
 #endif
 
+#ifndef __pure2
+# define __pure2
+#endif
+
 /* Linux headers define a struct with a member names __unused.
  * Disable for now. */
 #if 0
commit 8ef0ecdf4431b84d9419d89f9460a38a24be19d7
Author: Guillem Jover <guillem at hadrons.org>
Date:   Fri Jul 17 13:34:30 2009 +0200

    Add more dummy id macros

diff --git a/include/bsd/cdefs.h b/include/bsd/cdefs.h
index 0ed7be9..8736e8c 100644
--- a/include/bsd/cdefs.h
+++ b/include/bsd/cdefs.h
@@ -69,4 +69,20 @@
 # define __FBSDID(x)
 #endif
 
+#ifndef __RCSID
+# define __RCSID(x)
+#endif
+
+#ifndef __RCSID_SOURCE
+# define __RCSID_SOURCE
+#endif
+
+#ifndef __SCCSID
+# define __SCCSID
+#endif
+
+#ifndef __COPYRIGHT
+# define __COPYRIGHT
+#endif
+
 #endif
commit 6660397589657e95cfa67cf045814795fd4a043a
Author: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
Date:   Fri Jul 17 12:50:07 2009 +0200

    Fix typos in AVR32 and SH local-elf.h endian definitions

diff --git a/src/local-elf.h b/src/local-elf.h
index e23e5a2..249e6ef 100644
--- a/src/local-elf.h
+++ b/src/local-elf.h
@@ -66,7 +66,7 @@
 #endif
 #define ELF_TARG_MACH	EM_AVR32
 #define ELF_TARG_CLASS	ELFCLASS32
-#if define(__LITTLE_ENDIAN__)
+#if defined(__LITTLE_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LSB
 #elif defined(__BIG_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LMSB
@@ -147,7 +147,7 @@
 
 #define ELF_TARG_MACH	EM_SH
 #define ELF_TARG_CLASS	ELFCLASS32
-#if define(__LITTLE_ENDIAN__)
+#if defined(__LITTLE_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LSB
 #elif defined(__BIG_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LMSB


More information about the libbsd mailing list