From b95bf72aa9967c54c56dfead82b7844e05f41f47 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Mon, 10 Apr 2006 12:15:22 +0000 Subject: rcs_kflag_usage() is not used by usr.bin/rcs; OK joris@. --- usr.bin/cvs/rcs.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 97ccfdefa76..14dedc413c7 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.162 2006/04/10 08:08:00 xsa Exp $ */ +/* $OpenBSD: rcs.c,v 1.163 2006/04/10 12:15:21 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -1570,19 +1570,6 @@ rcs_errstr(int code) return (esp); } -void -rcs_kflag_usage(void) -{ - fprintf(stderr, "Valid expansion modes include:\n" - "\t-kkv\tGenerate keywords using the default form.\n" - "\t-kkvl\tLike -kkv, except locker's name inserted.\n" - "\t-kk\tGenerate only keyword names in keyword strings.\n" - "\t-kv\tGenerate only keyword values in keyword strings.\n" - "\t-ko\tGenerate old keyword string " - "(no changes from checked in file).\n" - "\t-kb\tGenerate binary file unmodified (merges not allowed).\n"); -} - /* rcs_parse_deltas() * * Parse deltas. If is not NULL, parse only as far as that @@ -2915,6 +2902,19 @@ static char *month_tab[] = { "Dec" }; +void +rcs_kflag_usage(void) +{ + (void)fprintf(stderr, "Valid expansion modes include:\n" + "\t-kkv\tGenerate keywords using the default form.\n" + "\t-kkvl\tLike -kkv, except locker's name inserted.\n" + "\t-kk\tGenerate only keyword names in keyword strings.\n" + "\t-kv\tGenerate only keyword values in keyword strings.\n" + "\t-ko\tGenerate old keyword string " + "(no changes from checked in file).\n" + "\t-kb\tGenerate binary file unmodified (merges not allowed).\n"); +} + /* * Checkout a certain revision of RCS file to either standard * output when running in server mode, or to when running in local mode. @@ -3128,4 +3128,4 @@ out: return (ret); } -#endif +#endif /* !RCSPROG */ -- cgit v1.2.3