summaryrefslogtreecommitdiff
path: root/lib/linebuffer.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-12-31 12:59:53 +0000
committerBruno Haible <bruno@clisp.org>2002-12-31 12:59:53 +0000
commit6fd120ffe982ec7b6d817c7f0171ac0115ea1ac3 (patch)
treeb379dcb042fd9e15bdb588ec2b14fbe2dca24a99 /lib/linebuffer.h
parent0183445c320cb405d26cde02111adec107e54d9e (diff)
downloadgnulib-6fd120ffe982ec7b6d817c7f0171ac0115ea1ac3.tar.gz
Avoid function names used in standard libraries.
Diffstat (limited to 'lib/linebuffer.h')
-rw-r--r--lib/linebuffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/linebuffer.h b/lib/linebuffer.h
index 4e3549162b..dd76a4a237 100644
--- a/lib/linebuffer.h
+++ b/lib/linebuffer.h
@@ -1,5 +1,5 @@
/* linebuffer.h -- declarations for reading arbitrarily long lines
- Copyright (C) 1986, 1991, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1991, 1998, 1999, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -35,6 +35,9 @@ struct linebuffer
# endif
# endif
+/* Avoid collision with readline() from libreadline. */
+#define readline readlinebuffer
+
/* Initialize linebuffer LINEBUFFER for use. */
void initbuffer PARAMS ((struct linebuffer *linebuffer));