summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-03-23 13:28:24 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-03-23 13:28:24 +0000
commit9495394552eccda8a20f42184bc88ef363fd70a4 (patch)
tree3921cea8ee0c9c26d32911cab004c811090b4d9f /usr.bin
parent6c8d11187477976578866123cc7a89e436d4b25c (diff)
rlog_file() will never return non-zero; change its return type to void.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rcs/rlog.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c
index 4fa802c92bc..eb2cb3899e8 100644
--- a/usr.bin/rcs/rlog.c
+++ b/usr.bin/rcs/rlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlog.c,v 1.31 2006/03/20 17:14:47 xsa Exp $ */
+/* $OpenBSD: rlog.c,v 1.32 2006/03/23 13:28:23 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -30,8 +30,8 @@
#include "rcsprog.h"
#include "diff.h"
-static int rlog_file(const char *, const char *);
-static void rlog_rev_print(struct rcs_delta *);
+static void rlog_file(const char *, const char *);
+static void rlog_rev_print(struct rcs_delta *);
#define REVSEP "----------------------------"
#define REVEND \
@@ -152,7 +152,7 @@ rlog_main(int argc, char **argv)
return (0);
}
-static int
+static void
rlog_file(const char *fname, const char *fpath)
{
char numb[64];
@@ -209,7 +209,6 @@ rlog_file(const char *fname, const char *fpath)
}
printf("%s\n", REVEND);
- return (0);
}
static void