1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-28 11:29:09 +02:00

s/__P/PARAMS/

This commit is contained in:
Jim Meyering
1997-12-21 22:39:53 +00:00
parent 44dddb31c0
commit f54368ec1b
4 changed files with 50 additions and 50 deletions
+5 -5
View File
@@ -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;
+17 -17
View File
@@ -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;
+1 -1
View File
@@ -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;
+27 -27
View File
@@ -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;