diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-05 13:16:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-05 13:16:24 +0000 |
commit | ce5f4177bc20f259aa13b9fb050f3876f3269cc7 (patch) | |
tree | c8c852df14b107e621624ecc72324e14947f2a3e | |
parent | 48f3bca87e2d52148f0d7dc1bae3a82a6bef9655 (diff) | |
download | coreutils-ce5f4177bc20f259aa13b9fb050f3876f3269cc7.tar.xz |
Protect prototypes with __P.
-rw-r--r-- | src/csplit.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/csplit.c b/src/csplit.c index 703b13f86..6c305f6b6 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -119,13 +119,21 @@ struct buffer_record struct buffer_record *next; }; +#ifndef __P +# if PROTOTYPES +# define __P(Args) Args +# else +# define __P(Args) () +# endif +#endif + int safe_read (); -static void cleanup (void); -static void close_output_file (void); -static void create_output_file (void); -static void save_line_to_file (struct cstring *line); -static void usage (int status); +static void cleanup __P ((void)); +static void close_output_file __P ((void)); +static void create_output_file __P ((void)); +static void save_line_to_file __P ((struct cstring *line)); +static void usage __P ((int status)); /* The name this program was run with. */ char *program_name; |