Change _P to __P.

This commit is contained in:
Jim Meyering 1994-11-04 14:04:43 +00:00
parent 4b579f1836
commit 8de255ea61

View File

@ -24,19 +24,19 @@ struct linebuffer
char *buffer;
};
#ifdef __STDC__
#if defined (__STDC__) && __STDC__
#define __P(x) x
#else
#define __P(x) ()
#endif
/* Initialize linebuffer LINEBUFFER for use. */
void initbuffer (struct linebuffer *linebuffer);
void initbuffer __P ((struct linebuffer *linebuffer));
/* Read an arbitrarily long line of text from STREAM into LINEBUFFER.
Remove any newline. Does not null terminate.
Return LINEBUFFER, except at end of file return 0. */
struct linebuffer *readline (struct linebuffer *linebuffer, FILE *stream);
struct linebuffer *readline __P ((struct linebuffer *linebuffer, FILE *stream));
/* Free linebuffer LINEBUFFER and its data, all allocated with malloc. */
void freebuffer (struct linebuffer *);
#else
void initbuffer ();
struct linebuffer *readline ();
void freebuffer ();
#endif
void freebuffer __P ((struct linebuffer *));