diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 13:03:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 13:03:38 -0700 |
commit | b7aafba248db5e9c3ba39e4819d0b9ae156d2c82 (patch) | |
tree | 34f066ced897639b2b9d781dadd41b8fac03f4ff /pf.c | |
parent | e1cb231b31be520b76aeb72acc1af9ff6682fa9d (diff) |
sparse warning: non-ANSI definition of function 'process_file' & 'process_line'
Diffstat (limited to 'pf.c')
-rw-r--r-- | pf.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -37,8 +37,7 @@ from The Open Group. char *inputFilename = NOTINFILEFILENAME; int lineno = 0; -void process_file (filename) - char *filename; /* NULL means use stdin */ +void process_file (char *filename) /* NULL means use stdin */ { FILE *fp; char buffer[BUFSIZ]; @@ -80,8 +79,7 @@ void process_file (filename) } -void process_line (buffer) - char *buffer; +void process_line (char *buffer) { int len; int i; |