aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-12-27 21:28:02 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-12-27 21:28:02 +0000
commit2434746dd4bc0c8c00d5a94e44f05604e2dca304 (patch)
tree180b2c74131eb4d4bd7c855e1de0ca28bda8127c /target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch
parent4060780e57e972944be3a83db84bc37948949698 (diff)
downloadupstream-2434746dd4bc0c8c00d5a94e44f05604e2dca304.tar.gz
upstream-2434746dd4bc0c8c00d5a94e44f05604e2dca304.tar.bz2
upstream-2434746dd4bc0c8c00d5a94e44f05604e2dca304.zip
switch ixp4xx and ubicom32 to 2.6.30, get rid of 2.6.28 files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18952 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch b/target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch
deleted file mode 100644
index 2b0f1cfc63..0000000000
--- a/target/linux/generic-2.6/patches-2.6.28/906-unifdef_getline.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- a/scripts/unifdef.c
-+++ b/scripts/unifdef.c
-@@ -206,7 +206,11 @@ static void done(void);
- static void error(const char *);
- static int findsym(const char *);
- static void flushline(bool);
--static Linetype getline(void);
-+#ifndef __CYGWIN__
-+static Linetype __getline(void);
-+#else
-+static Linetype get_line(void);
-+#endif
- static Linetype ifeval(const char **);
- static void ignoreoff(void);
- static void ignoreon(void);
-@@ -512,7 +516,11 @@ process(void)
-
- for (;;) {
- linenum++;
-- lineval = getline();
-+#ifndef __CYGWIN__
-+ lineval = __getline();
-+#else
-+ lineval = get_line();
-+#endif
- trans_table[ifstate[depth]][lineval]();
- debug("process %s -> %s depth %d",
- linetype_name[lineval],
-@@ -526,7 +534,11 @@ process(void)
- * help from skipcomment().
- */
- static Linetype
--getline(void)
-+#ifndef __CYGWIN__
-+__getline(void)
-+#else
-+get_line(void)
-+#endif
- {
- const char *cp;
- int cursym;