summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--lang/langcomp.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/Changes b/Changes
index 822f8f6a9..1540daf33 100644
--- a/Changes
+++ b/Changes
@@ -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",