summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-06-25 03:02:33 +0000
committertedu <tedu@openbsd.org>2003-06-25 03:02:33 +0000
commit26da422a584575cba0ba737a764f69ee925b2b54 (patch)
tree232c9af4fc3dab960a94cfa4bca72802f672eee5 /usr.bin/diff/diff.h
parent-Wall (diff)
downloadwireguard-openbsd-26da422a584575cba0ba737a764f69ee925b2b54.tar.xz
wireguard-openbsd-26da422a584575cba0ba737a764f69ee925b2b54.zip
cleanup. ansi, headers, correct prototypes, some safer string and
tempfile functions, whitespace, ... no functional improvements yet
Diffstat (limited to 'usr.bin/diff/diff.h')
-rw-r--r--usr.bin/diff/diff.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h
index 73ba52c0cbf..0aafd79784f 100644
--- a/usr.bin/diff/diff.h
+++ b/usr.bin/diff/diff.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.h,v 1.2 2003/06/25 01:23:38 deraadt Exp $ */
+/* $OpenBSD: diff.h,v 1.3 2003/06/25 03:02:33 tedu Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -113,9 +113,15 @@ char **diffargv; /* option list to pass to recursive diffs */
char *file1, *file2, *efile1, *efile2;
struct stat stb1, stb2;
-char *malloc(), *talloc(), *ralloc();
-char *savestr(), *splice(), *splicen();
-char *mktemp(), *copytemp(), *rindex();
-int done();
+void *talloc(size_t);
+void *ralloc(void *, size_t);
+char *splice(char *, char *);
+char *copytemp(void);
+void catchsig(int);
+void done(void);
+void diffdir(char **);
+void diffreg(void);
+int max(int, int);
+int min(int, int);
extern char diffh[], diff[], pr[];