summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.h
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2005-10-22 19:05:25 +0000
committerjoris <joris@openbsd.org>2005-10-22 19:05:25 +0000
commit1c2713854b802aeaad63503542a77dafc79ee6d3 (patch)
tree25df1209aefcd428896337a256912a6ea716f1a9 /usr.bin/cvs/diff.h
parentadd a hint to close that says how the fd got closed (real error, premature, (diff)
downloadwireguard-openbsd-1c2713854b802aeaad63503542a77dafc79ee6d3.tar.xz
wireguard-openbsd-1c2713854b802aeaad63503542a77dafc79ee6d3.zip
fix warning when compiling usr.bin/rcs
Diffstat (limited to 'usr.bin/cvs/diff.h')
-rw-r--r--usr.bin/cvs/diff.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cvs/diff.h b/usr.bin/cvs/diff.h
index cd261370da4..52fa3775100 100644
--- a/usr.bin/cvs/diff.h
+++ b/usr.bin/cvs/diff.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.h,v 1.4 2005/10/22 17:32:57 joris Exp $ */
+/* $OpenBSD: diff.h,v 1.5 2005/10/22 19:05:25 joris Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -93,6 +93,10 @@
#define D_SKIPPED2 9 /* path2 was a special file */
+#if defined(RCSPROG)
+struct cvs_lines;
+#endif
+
BUF *cvs_diff3(RCSFILE *, char *, RCSNUM *, RCSNUM *);
void diff_output(const char *, ...);
int cvs_diffreg(const char *, const char *, BUF *out);