mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-21 15:43:30 +08:00
Change _P to __P.
This commit is contained in:
parent
4b579f1836
commit
8de255ea61
@ -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 *));
|
||||
|
Loading…
Reference in New Issue
Block a user