[gumstix] Fix ext4 build
[openwrt.git] / toolchain / uClibc / patches-0.9.31 / 000-upstream-attribute_optimize_fix.patch
1 From a115ee502fca8b1eb8ce327d764562d3ae669954 Mon Sep 17 00:00:00 2001
2 From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
3 Date: Mon, 12 Apr 2010 13:09:25 +0000
4 Subject: attribute_optimize: fix typo with args
5
6 curious how 308f5c6e5fd56ea3d1a5512e34388aad788f1180 ever worked.. :P
7
8 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
9 ---
10 diff --git a/include/libc-symbols.h b/include/libc-symbols.h
11 index 2729d30..4615a6a 100644
12 --- a/include/libc-symbols.h
13 +++ b/include/libc-symbols.h
14 @@ -86,9 +86,9 @@
15 #endif
16
17 #if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
18 -# define attribute_optimize(lvl) __attribute__ ((optimize(x)))
19 +# define attribute_optimize(x) __attribute__ ((optimize(x)))
20 #else
21 -# define attribute_optimize(lvl)
22 +# define attribute_optimize(x)
23 #endif
24
25 #define attribute_unused __attribute__ ((unused))
This page took 0.055651 seconds and 5 git commands to generate.