summaryrefslogtreecommitdiff
path: root/lib/getline.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-05-13 20:44:45 +0000
committerJim Meyering <jim@meyering.net>1999-05-13 20:44:45 +0000
commit4c9f46a4a1f84420b405833d5f94d672c7343e9f (patch)
tree41142e94b8dc3bf3e9801869acf812e92895a82f /lib/getline.h
parent59d16049d86cfd9475e26fe7c62a192dd922bff0 (diff)
downloadcoreutils-4c9f46a4a1f84420b405833d5f94d672c7343e9f.tar.xz
[__GLIBC__ >= 2]: #if-out prototypes.
Diffstat (limited to 'lib/getline.h')
-rw-r--r--lib/getline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/getline.h b/lib/getline.h
index 8dee0f455..991184c75 100644
--- a/lib/getline.h
+++ b/lib/getline.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1997, 1999 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
@@ -27,10 +27,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# endif
# endif
+# if __GLIBC__ < 2
int
getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
int
getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
+# endif
#endif /* not GETLINE_H_ */