summaryrefslogtreecommitdiff
path: root/test/regex/testregex.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-02 16:41:04 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-02 16:41:04 +0000
commit7725acc03153c5bfbe26681d1585b8b6600892ae (patch)
treeb78fc68bfc275c44da9c0ea8ba17e32ca36f6b3a /test/regex/testregex.c
parent4d7a32f455e0aa86bf1d140fb7f40be1d9b25c21 (diff)
Remove CFLAGS-OMIT support, rename getline to get testregex compile w/ -D_GNU_SOURCE
Diffstat (limited to 'test/regex/testregex.c')
-rw-r--r--test/regex/testregex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regex/testregex.c b/test/regex/testregex.c
index 7b86ab79e..3d953f5d3 100644
--- a/test/regex/testregex.c
+++ b/test/regex/testregex.c
@@ -985,7 +985,7 @@ gotcha(int sig)
}
static char*
-getline(FILE* fp)
+my_getline(FILE* fp)
{
static char buf[32 * 1024];
@@ -1343,7 +1343,7 @@ main(int argc, char** argv)
signal(SIGBUS, gotcha);
signal(SIGSEGV, gotcha);
}
- while (p = getline(fp))
+ while (p = my_getline(fp))
{
/* parse: */