summaryrefslogtreecommitdiff
path: root/src/pr.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 14:35:39 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 14:35:39 +0000
commit051550c21b27f066af2b6c72004de70652fc035a (patch)
tree00e1c524cfe5ef782e2df9e3920abd83f6e1ea10 /src/pr.c
parent2753d47434b3a87a21134cb073616ba73a8e7352 (diff)
downloadcoreutils-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.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/pr.c b/src/pr.c
index b25a2a27f..a1c38a1fa 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -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. */