summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-03-08 16:13:31 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-03-08 16:13:31 +0000
commit6171c432857ae55167e1ee12f2c2a9ee42315e8d (patch)
treea7f4d775880cdd574bd3c275f73fba673d3d24c5
parentdc221260f4faebb6e04ad8c8f245e9dd6ec6bc54 (diff)
make cvs_findcmd() and cvs_read_rcfile() static.
ok xsa@, jfb@
-rw-r--r--usr.bin/cvs/cvs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c
index 3eb75d711a3..f8e146ad40c 100644
--- a/usr.bin/cvs/cvs.c
+++ b/usr.bin/cvs/cvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.c,v 1.41 2005/03/06 21:09:00 joris Exp $ */
+/* $OpenBSD: cvs.c,v 1.42 2005/03/08 16:13:30 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -309,8 +309,8 @@ static struct cvs_cmd {
void usage (void);
void sigchld_hdlr (int);
-void cvs_read_rcfile (void);
-struct cvs_cmd* cvs_findcmd (const char *);
+static void cvs_read_rcfile (void);
+static struct cvs_cmd* cvs_findcmd (const char *);
int cvs_getopt (int, char **);
@@ -538,7 +538,7 @@ cvs_getopt(int argc, char **argv)
* aliases matches <cmd>.
* Returns a pointer to the command entry on success, NULL on failure.
*/
-struct cvs_cmd*
+static struct cvs_cmd*
cvs_findcmd(const char *cmd)
{
u_int i, j;
@@ -570,7 +570,7 @@ cvs_findcmd(const char *cmd)
* exists, it should contain a list of arguments that should always be given
* implicitly to the specified commands.
*/
-void
+static void
cvs_read_rcfile(void)
{
char rcpath[MAXPATHLEN], linebuf[128], *lp;