diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | lang/langcomp.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -25,6 +25,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006 06/14 F Removed last traces of threading support. [#498] 06/14 F Changed mysql detection to use mysql_config. [ #00] 06/15 F OpenBSD Config issue. [#519] +06/15 F langcomp with _GNU_SOURCES defined. [ #00] Provided by ThaPrince <jon@vile.com> - 2006 05/19 A Plexus 3 support. [ #00] diff --git a/lang/langcomp.c b/lang/langcomp.c index 1aace4e09..28d0c67b6 100644 --- a/lang/langcomp.c +++ b/lang/langcomp.c @@ -118,7 +118,7 @@ int stringnum(const char *name) /* Read a non-comment, non-blank line from the input file. Return NULL at * end of file. */ -char *getline(FILE *f) +char *ano_getline(FILE *f) { static char buf[1024]; char *s; @@ -205,7 +205,7 @@ int main(int ac, char **av) return 1; } - while (maxerr > 0 && (line = getline(in)) != NULL) { + while (maxerr > 0 && (line = ano_getline(in)) != NULL) { if (*line == '\t') { if (curstring == -2) { fprintf(stderr, "%s:%d: Junk at beginning of file\n", |