From 6171c432857ae55167e1ee12f2c2a9ee42315e8d Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Tue, 8 Mar 2005 16:13:31 +0000 Subject: make cvs_findcmd() and cvs_read_rcfile() static. ok xsa@, jfb@ --- usr.bin/cvs/cvs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/cvs/cvs.c') 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 * 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 . * 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; -- cgit v1.2.3