summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cmd.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2007-09-04 19:07:05 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2007-09-04 19:07:05 +0000
commit2576f1816448a9ac2c0fc40dcca15d4dc48bc823 (patch)
treea952594f2893950ea25b8bb878c9ac84bee89bb6 /usr.bin/cvs/cmd.c
parent43e123e44d068b8f22c90342f783ac3653eb173d (diff)
Removed dead code.
OK joris@, ray@
Diffstat (limited to 'usr.bin/cvs/cmd.c')
-rw-r--r--usr.bin/cvs/cmd.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c
index d4cb3dffbd2..3d27aa004c3 100644
--- a/usr.bin/cvs/cmd.c
+++ b/usr.bin/cvs/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.61 2007/06/27 20:27:38 xsa Exp $ */
+/* $OpenBSD: cmd.c,v 1.62 2007/09/04 19:07:03 tobias Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -88,19 +88,3 @@ cvs_findcmd(const char *cmd)
return (cmdp);
}
-
-struct cvs_cmd *
-cvs_findcmdbyreq(u_int reqid)
-{
- int i;
- struct cvs_cmd *cmdp;
-
- cmdp = NULL;
- for (i = 0; cvs_cdt[i] != NULL; i++)
- if (cvs_cdt[i]->cmd_req == reqid) {
- cmdp = cvs_cdt[i];
- break;
- }
-
- return (cmdp);
-}