aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.31/000-upstream-enum_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.31/000-upstream-enum_fix.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.31/000-upstream-enum_fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.31/000-upstream-enum_fix.patch b/toolchain/uClibc/patches-0.9.31/000-upstream-enum_fix.patch
new file mode 100644
index 0000000000..bac1a0d39e
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.31/000-upstream-enum_fix.patch
@@ -0,0 +1,20 @@
+From ac86be72f8b01ac3792737f4b67283541cf2c15b Mon Sep 17 00:00:00 2001
+From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
+Date: Tue, 27 Jul 2010 15:05:59 +0000
+Subject: remove trailing comma in enum
+
+Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
+---
+diff --git a/libc/sysdeps/linux/common/bits/confname.h b/libc/sysdeps/linux/common/bits/confname.h
+index ec4b72a..97ddd47 100644
+--- a/libc/sysdeps/linux/common/bits/confname.h
++++ b/libc/sysdeps/linux/common/bits/confname.h
+@@ -527,7 +527,7 @@ enum
+
+ _SC_THREAD_ROBUST_PRIO_INHERIT,
+ #define _SC_THREAD_ROBUST_PRIO_INHERIT _SC_THREAD_ROBUST_PRIO_INHERIT
+- _SC_THREAD_ROBUST_PRIO_PROTECT,
++ _SC_THREAD_ROBUST_PRIO_PROTECT
+ #define _SC_THREAD_ROBUST_PRIO_PROTECT _SC_THREAD_ROBUST_PRIO_PROTECT
+ };
+