From db72d5b959d2b29025736f108994d5680fd3a71b Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sat, 22 Oct 2005 19:05:26 +0000 Subject: fix warning when compiling usr.bin/rcs --- usr.bin/cvs/diff.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3