diff options
author | Bruno Haible <bruno@clisp.org> | 2001-01-04 16:39:09 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-01-04 16:39:09 +0000 |
commit | eaf396d26252324da43cfc02edef4163af4c8f5a (patch) | |
tree | 9d1f659f740b89cf95cfe11728fc06b8844ffacb /lib/getline.h | |
parent | b5b46b39517187905714bc8d00363e5af9f207ca (diff) | |
download | external_gettext-eaf396d26252324da43cfc02edef4163af4c8f5a.zip external_gettext-eaf396d26252324da43cfc02edef4163af4c8f5a.tar.gz external_gettext-eaf396d26252324da43cfc02edef4163af4c8f5a.tar.bz2 |
Update the lib directory with new files from glibc-2.2, fetish utils etc.
Diffstat (limited to 'lib/getline.h')
-rw-r--r-- | lib/getline.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/getline.h b/lib/getline.h index cc6466d..a2aa231 100644 --- a/lib/getline.h +++ b/lib/getline.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995 Free Software Foundation, Inc. +/* Copyright (C) 1995, 2000 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,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # endif # endif +/* glibc2 has these functions declared in <stdio.h>. Avoid redeclarations. */ +# 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_ */ |