diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-22 03:02:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-22 03:02:55 +0000 |
commit | 3032beba73297169e05dbcc63093515fe2b90cb2 (patch) | |
tree | e36495bc2cbc9b92539127d4456e0727de95d105 /lib/getline.h | |
parent | 50b029f4d95e9ae98330c1071aca87025dadbfb1 (diff) | |
download | coreutils-3032beba73297169e05dbcc63093515fe2b90cb2.tar.xz |
New version from gettext-0.10.12.
Diffstat (limited to 'lib/getline.h')
-rw-r--r-- | lib/getline.h | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/lib/getline.h b/lib/getline.h index e2c357495..b22136d1e 100644 --- a/lib/getline.h +++ b/lib/getline.h @@ -1,17 +1,36 @@ +/* Copyright (C) 1995 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 +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifndef _getline_h_ #define _getline_h_ 1 #include <stdio.h> -#ifndef __P -# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -# define __P(args) args +#ifndef PARAMS +# if defined (__GNUC__) || __STDC__ +# define PARAMS(args) args # else -# define __P(args) () +# define PARAMS(args) () # endif /* GCC. */ -#endif /* Not __P. */ +#endif /* Not PARAMS. */ + +int +getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); int - getline __P ((char **_lineptr, size_t *_n, FILE *_stream)); +getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); -#endif /* _getline_h_ */ +#endif |