X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetline.h;h=991184c759ee366bb89fee476fdaa17bf631af5e;hb=911955d8c72adfdba2d2ff7bb3d727e0f18a559e;hp=cc6466d72addb2f259fb1592c469f29042292a6d;hpb=b3d67003f385dc063ef0f0f8291ac6e79df2cf3a;p=gnulib.git diff --git a/lib/getline.h b/lib/getline.h index cc6466d72..991184c75 100644 --- a/lib/getline.h +++ b/lib/getline.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995 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 @@ -20,17 +20,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # include # ifndef PARAMS -# if defined (__GNUC__) || __STDC__ -# define PARAMS(args) args +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args # else -# define PARAMS(args) () +# define PARAMS(Args) () # 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_ */