1
0

getline.patch 975 B

123456789101112131415161718192021222324252627282930
  1. diff -Nur uClibc-0.9.30.1.orig/extra/scripts/unifdef.c uClibc-0.9.30.1/extra/scripts/unifdef.c
  2. --- uClibc-0.9.30.1.orig/extra/scripts/unifdef.c 2008-04-28 01:10:00.000000000 +0200
  3. +++ uClibc-0.9.30.1/extra/scripts/unifdef.c 2009-10-10 12:37:04.230249774 +0200
  4. @@ -206,7 +206,7 @@
  5. static void error(const char *);
  6. static int findsym(const char *);
  7. static void flushline(bool);
  8. -static Linetype getline(void);
  9. +static Linetype get_line(void);
  10. static Linetype ifeval(const char **);
  11. static void ignoreoff(void);
  12. static void ignoreon(void);
  13. @@ -512,7 +512,7 @@
  14. for (;;) {
  15. linenum++;
  16. - lineval = getline();
  17. + lineval = get_line();
  18. trans_table[ifstate[depth]][lineval]();
  19. debug("process %s -> %s depth %d",
  20. linetype_name[lineval],
  21. @@ -526,7 +526,7 @@
  22. * help from skipcomment().
  23. */
  24. static Linetype
  25. -getline(void)
  26. +get_line(void)
  27. {
  28. const char *cp;
  29. int cursym;