From ce5f4177bc20f259aa13b9fb050f3876f3269cc7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 5 Nov 1995 13:16:24 +0000 Subject: Protect prototypes with __P. --- src/csplit.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'src/csplit.c') 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; -- cgit v1.2.3-70-g09d2