* [Buildroot] [PATCH] toolchain/uClibc: add patch to rename getline to get_line in unifdef.c
@ 2009-05-28 21:39 Pavel Roskin
2009-06-01 6:05 ` Peter Korsgaard
2009-07-27 8:22 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Pavel Roskin @ 2009-05-28 21:39 UTC (permalink / raw)
To: buildroot
getline() is a standard libc function with a different signature.
Signed-off-by: Pavel Roskin <proski@gnu.org>
---
.../uClibc/uClibc-0.9.30.1-unifdef-getline.patch | 29 ++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch
diff --git a/toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch b/toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch
new file mode 100644
index 0000000..eb88884
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.30.1-unifdef-getline.patch
@@ -0,0 +1,29 @@
+--- uClibc-0.9.30.1.orig/extra/scripts/unifdef.c
++++ uClibc-0.9.30.1/extra/scripts/unifdef.c
+@@ -206,7 +206,7 @@ static void done(void);
+ static void error(const char *);
+ static int findsym(const char *);
+ static void flushline(bool);
+-static Linetype getline(void);
++static Linetype get_line(void);
+ static Linetype ifeval(const char **);
+ static void ignoreoff(void);
+ static void ignoreon(void);
+@@ -512,7 +512,7 @@ process(void)
+
+ for (;;) {
+ linenum++;
+- lineval = getline();
++ lineval = get_line();
+ trans_table[ifstate[depth]][lineval]();
+ debug("process %s -> %s depth %d",
+ linetype_name[lineval],
+@@ -526,7 +526,7 @@ process(void)
+ * help from skipcomment().
+ */
+ static Linetype
+-getline(void)
++get_line(void)
+ {
+ const char *cp;
+ int cursym;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] toolchain/uClibc: add patch to rename getline to get_line in unifdef.c
2009-05-28 21:39 [Buildroot] [PATCH] toolchain/uClibc: add patch to rename getline to get_line in unifdef.c Pavel Roskin
@ 2009-06-01 6:05 ` Peter Korsgaard
2009-07-27 8:22 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2009-06-01 6:05 UTC (permalink / raw)
To: buildroot
>>>>> "Pavel" == Pavel Roskin <proski@gnu.org> writes:
Pavel> getline() is a standard libc function with a different signature.
Pavel> Signed-off-by: Pavel Roskin <proski@gnu.org>
I can see how this might confuse stuff, but what error do you get
exactly? Have you sent this to the uclibc people?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] toolchain/uClibc: add patch to rename getline to get_line in unifdef.c
2009-05-28 21:39 [Buildroot] [PATCH] toolchain/uClibc: add patch to rename getline to get_line in unifdef.c Pavel Roskin
2009-06-01 6:05 ` Peter Korsgaard
@ 2009-07-27 8:22 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2009-07-27 8:22 UTC (permalink / raw)
To: buildroot
>>>>> "Pavel" == Pavel Roskin <proski@gnu.org> writes:
Pavel> getline() is a standard libc function with a different signature.
Pavel> Signed-off-by: Pavel Roskin <proski@gnu.org>
Thanks, applied.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-27 8:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28 21:39 [Buildroot] [PATCH] toolchain/uClibc: add patch to rename getline to get_line in unifdef.c Pavel Roskin
2009-06-01 6:05 ` Peter Korsgaard
2009-07-27 8:22 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox