summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-04-10 12:15:22 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-04-10 12:15:22 +0000
commitb95bf72aa9967c54c56dfead82b7844e05f41f47 (patch)
treecc0adaa4e037187e97eb054664b894b164d09a8c /usr.bin
parentb1ed248b9d27839ae587bfba6ce748391d93f822 (diff)
rcs_kflag_usage() is not used by usr.bin/rcs; OK joris@.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/rcs.c30
1 files changed, 15 insertions, 15 deletions
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 <jfb@openbsd.org>
* 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 <rev> 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 <rev> of RCS file <rf> to either standard
* output when running in server mode, or to <fpath> when running in local mode.
@@ -3128,4 +3128,4 @@ out:
return (ret);
}
-#endif
+#endif /* !RCSPROG */