summaryrefslogtreecommitdiff
path: root/usr.bin/cmp/misc.c
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2002-07-28 15:13:17 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2002-07-28 15:13:17 +0000
commitf2e8e0dad7a0521feee7b8fc43c35d316550aaa2 (patch)
tree28f04322c1c89c99b7621658c5eac4cc8eff696a /usr.bin/cmp/misc.c
parenta374d6e0a1d2a546e424b32406a436698e0b2c01 (diff)
downloadsrc-test2-f2e8e0dad7a0521feee7b8fc43c35d316550aaa2.tar.gz
src-test2-f2e8e0dad7a0521feee7b8fc43c35d316550aaa2.zip
Notes
Diffstat (limited to 'usr.bin/cmp/misc.c')
-rw-r--r--usr.bin/cmp/misc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/cmp/misc.c b/usr.bin/cmp/misc.c
index 1211f3b6f3b4..53c6a9bf6dd3 100644
--- a/usr.bin/cmp/misc.c
+++ b/usr.bin/cmp/misc.c
@@ -49,8 +49,7 @@ __FBSDID("$FreeBSD$");
#include "extern.h"
void
-eofmsg(file)
- const char *file;
+eofmsg(const char *file)
{
if (!sflag)
warnx("EOF on %s", file);
@@ -58,9 +57,7 @@ eofmsg(file)
}
void
-diffmsg(file1, file2, byte, line)
- const char *file1, *file2;
- off_t byte, line;
+diffmsg(const char *file1, const char *file2, off_t byte, off_t line)
{
if (!sflag)
(void)printf("%s %s differ: char %lld, line %lld\n",