diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-11 14:35:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-11 14:35:39 +0000 |
commit | 051550c21b27f066af2b6c72004de70652fc035a (patch) | |
tree | 00e1c524cfe5ef782e2df9e3920abd83f6e1ea10 /src/pr.c | |
parent | 2753d47434b3a87a21134cb073616ba73a8e7352 (diff) | |
download | coreutils-051550c21b27f066af2b6c72004de70652fc035a.tar.xz |
(struct COLUMN) [print_func]: Declare as a protype.
(struct COLUMN) [char_func]: Declare as a protype.
Diffstat (limited to 'src/pr.c')
-rw-r--r-- | src/pr.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -388,8 +388,13 @@ struct COLUMN CLOSED } status; /* Status of the file pointer. */ - int (*print_func) (); /* Func to print lines in this col. */ - void (*char_func) (); /* Func to print/store chars in this col. */ + + /* Func to print lines in this col. */ + int (*print_func) PARAMS ((struct COLUMN *)); + + /* Func to print/store chars in this col. */ + void (*char_func) PARAMS ((int)); + int current_line; /* Index of current place in line_vector. */ int lines_stored; /* Number of lines stored in buff. */ int lines_to_print; /* No. lines stored or space left on page. */ |