Michal Mazurek
2016-02-08 13:15:04 UTC
main() doesn't need to be declared.
Index: hexdump.c
===================================================================
RCS file: /cvs/src/usr.bin/hexdump/hexdump.c,v
retrieving revision 1.19
diff -u -p -r1.19 hexdump.c
--- hexdump.c 9 Oct 2015 01:37:07 -0000 1.19
+++ hexdump.c 8 Feb 2016 12:39:12 -0000
@@ -45,8 +45,6 @@ int exitval; /* final exit value */
long length = -1; /* max bytes to read */
char *iobuf; /* stdio I/O buffer */
size_t iobufsiz; /* size of stdio I/O buffer */
-
-int main(int, char **);
int
main(int argc, char *argv[])
Index: hexdump.c
===================================================================
RCS file: /cvs/src/usr.bin/hexdump/hexdump.c,v
retrieving revision 1.19
diff -u -p -r1.19 hexdump.c
--- hexdump.c 9 Oct 2015 01:37:07 -0000 1.19
+++ hexdump.c 8 Feb 2016 12:39:12 -0000
@@ -45,8 +45,6 @@ int exitval; /* final exit value */
long length = -1; /* max bytes to read */
char *iobuf; /* stdio I/O buffer */
size_t iobufsiz; /* size of stdio I/O buffer */
-
-int main(int, char **);
int
main(int argc, char *argv[])
--
Michal Mazurek
Michal Mazurek