aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cmp/extern.h
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-09-23 05:26:52 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-09-29 18:03:34 +0000
commit4e380e8474609875c4cf5277b3755ac29079a8b5 (patch)
treee59459a8471e686af8dfb74c1367a7cd027f77c1 /usr.bin/cmp/extern.h
parentf6787614fd4db2a9d5e649af0e819852ebd5a19d (diff)
cmp: add -n, --bytes to limit number of bytes to compare
This is compatible with GNU cmp. Reviewed by: markj Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32072
Diffstat (limited to 'usr.bin/cmp/extern.h')
-rw-r--r--usr.bin/cmp/extern.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/cmp/extern.h b/usr.bin/cmp/extern.h
index 82c5ea42b175..803319a50ca4 100644
--- a/usr.bin/cmp/extern.h
+++ b/usr.bin/cmp/extern.h
@@ -38,9 +38,10 @@
#define DIFF_EXIT 1
#define ERR_EXIT 2 /* error exit code */
-void c_link(const char *, off_t, const char *, off_t);
-void c_regular(int, const char *, off_t, off_t, int, const char *, off_t, off_t);
-void c_special(int, const char *, off_t, int, const char *, off_t);
+void c_link(const char *, off_t, const char *, off_t, off_t);
+void c_regular(int, const char *, off_t, off_t, int, const char *, off_t,
+ off_t, off_t);
+void c_special(int, const char *, off_t, int, const char *, off_t, off_t);
void diffmsg(const char *, const char *, off_t, off_t);
void eofmsg(const char *);