diff options
author | Jim Meyering <jim@meyering.net> | 1997-12-21 22:39:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-12-21 22:39:53 +0000 |
commit | f54368ec1bdb5deaafe40b5ee64a0bf9b44381f5 (patch) | |
tree | 4d1111f8a97b4850b3d952baa07f5cc1e5b0a455 | |
parent | 44dddb31c083071a85e50330435b27912db796de (diff) | |
download | coreutils-f54368ec1bdb5deaafe40b5ee64a0bf9b44381f5.tar.xz |
s/__P/PARAMS/
-rw-r--r-- | src/csplit.c | 10 | ||||
-rw-r--r-- | src/fmt.c | 34 | ||||
-rw-r--r-- | src/od.c | 2 | ||||
-rw-r--r-- | src/pr.c | 54 |
4 files changed, 50 insertions, 50 deletions
diff --git a/src/csplit.c b/src/csplit.c index 4271ed405..b923ed457 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -137,11 +137,11 @@ struct buffer_record int safe_read (); -static void close_output_file __P ((void)); -static void create_output_file __P ((void)); -static void delete_all_files __P ((void)); -static void save_line_to_file __P ((const struct cstring *line)); -static void usage __P ((int status)); +static void close_output_file PARAMS ((void)); +static void create_output_file PARAMS ((void)); +static void delete_all_files PARAMS ((void)); +static void save_line_to_file PARAMS ((const struct cstring *line)); +static void usage PARAMS ((int status)); /* The name this program was run with. */ char *program_name; @@ -155,23 +155,23 @@ struct Word /* Forward declarations. */ -static void set_prefix __P ((char *p)); -static void fmt __P ((FILE *f)); -static bool get_paragraph __P ((FILE *f)); -static int get_line __P ((FILE *f, int c)); -static int get_prefix __P ((FILE *f)); -static int get_space __P ((FILE *f, int c)); -static int copy_rest __P ((FILE *f, int c)); -static bool same_para __P ((int c)); -static void flush_paragraph __P ((void)); -static void fmt_paragraph __P ((void)); -static void check_punctuation __P ((WORD *w)); -static COST base_cost __P ((WORD *this)); -static COST line_cost __P ((WORD *next, int len)); -static void put_paragraph __P ((WORD *finish)); -static void put_line __P ((WORD *w, int indent)); -static void put_word __P ((WORD *w)); -static void put_space __P ((int space)); +static void set_prefix PARAMS ((char *p)); +static void fmt PARAMS ((FILE *f)); +static bool get_paragraph PARAMS ((FILE *f)); +static int get_line PARAMS ((FILE *f, int c)); +static int get_prefix PARAMS ((FILE *f)); +static int get_space PARAMS ((FILE *f, int c)); +static int copy_rest PARAMS ((FILE *f, int c)); +static bool same_para PARAMS ((int c)); +static void flush_paragraph PARAMS ((void)); +static void fmt_paragraph PARAMS ((void)); +static void check_punctuation PARAMS ((WORD *w)); +static COST base_cost PARAMS ((WORD *this)); +static COST line_cost PARAMS ((WORD *next, int len)); +static void put_paragraph PARAMS ((WORD *finish)); +static void put_line PARAMS ((WORD *w, int indent)); +static void put_word PARAMS ((WORD *w)); +static void put_space PARAMS ((int space)); /* The name this program was run with. */ const char *program_name; @@ -225,7 +225,7 @@ static long int pseudo_offset; /* Function to format an address and optionally an additional parenthesized pseudo-address; it returns the formatted string. */ -static const char *(*format_address) __P ((long unsigned int)); +static const char *(*format_address) PARAMS ((long unsigned int)); /* The number of input bytes to skip before formatting and writing. */ static off_t n_bytes_to_skip = 0; @@ -271,33 +271,33 @@ typedef struct COLUMN COLUMN; #define NULLCOL (COLUMN *)0 -static int char_to_clump __P ((int c)); -static int read_line __P ((COLUMN *p)); -static int print_page __P ((void)); -static int print_stored __P ((COLUMN *p)); -static int open_file __P ((char *name, COLUMN *p)); -static int skip_to_page __P ((int page)); -static void print_header __P ((void)); -static void pad_across_to __P ((int position)); -static void add_line_number __P ((COLUMN *p)); -static void getoptarg __P ((char *arg, char switch_char, char *character, - int *number)); -static void usage __P ((int status)); -static void print_files __P ((int number_of_files, char **av)); -static void init_parameters __P ((int number_of_files)); -static void init_header __P ((char *filename, int desc)); -static void init_store_cols __P ((void)); -static void store_columns __P ((void)); -static void balance __P ((int total_stored)); -static void store_char __P ((int c)); -static void pad_down __P ((int lines)); -static void read_rest_of_line __P ((COLUMN *p)); -static void skip_read __P ((COLUMN *p, int column_number)); -static void print_char __P ((int c)); -static void cleanup __P ((void)); -static void first_last_page __P ((char *pages)); -static void print_sep_string __P ((void)); -static void separator_string __P ((const char *optarg_S)); +static int char_to_clump PARAMS ((int c)); +static int read_line PARAMS ((COLUMN *p)); +static int print_page PARAMS ((void)); +static int print_stored PARAMS ((COLUMN *p)); +static int open_file PARAMS ((char *name, COLUMN *p)); +static int skip_to_page PARAMS ((int page)); +static void print_header PARAMS ((void)); +static void pad_across_to PARAMS ((int position)); +static void add_line_number PARAMS ((COLUMN *p)); +static void getoptarg PARAMS ((char *arg, char switch_char, char *character, + int *number)); +static void usage PARAMS ((int status)); +static void print_files PARAMS ((int number_of_files, char **av)); +static void init_parameters PARAMS ((int number_of_files)); +static void init_header PARAMS ((char *filename, int desc)); +static void init_store_cols PARAMS ((void)); +static void store_columns PARAMS ((void)); +static void balance PARAMS ((int total_stored)); +static void store_char PARAMS ((int c)); +static void pad_down PARAMS ((int lines)); +static void read_rest_of_line PARAMS ((COLUMN *p)); +static void skip_read PARAMS ((COLUMN *p, int column_number)); +static void print_char PARAMS ((int c)); +static void cleanup PARAMS ((void)); +static void first_last_page PARAMS ((char *pages)); +static void print_sep_string PARAMS ((void)); +static void separator_string PARAMS ((const char *optarg_S)); /* The name under which this program was invoked. */ char *program_name; |