summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-01-07 01:53:13 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-01-07 01:53:13 +0000
commit329216b2c18fe2c693dfecad465dc3bd53c039d8 (patch)
tree6db960698942112765cae2a94a5321d7ea42fae9 /usr.bin
parent86b0f17855378f6250a6ea7d315e2cf9bb65b5ef (diff)
zap-o-matic 2007:
- zap unused argument to cvs_exec()
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/util.c4
-rw-r--r--usr.bin/cvs/util.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c
index 531a15e6eed..11c21f59780 100644
--- a/usr.bin/cvs/util.c
+++ b/usr.bin/cvs/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.95 2007/01/03 14:08:09 xsa Exp $ */
+/* $OpenBSD: util.c,v 1.96 2007/01/07 01:53:12 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
@@ -368,7 +368,7 @@ cvs_freeargv(char **argv, int argc)
* cvs_exec()
*/
int
-cvs_exec(int argc, char **argv, int fds[3])
+cvs_exec(int argc, char **argv)
{
int ret;
pid_t pid;
diff --git a/usr.bin/cvs/util.h b/usr.bin/cvs/util.h
index e1b1d3530b3..c7e89dd859e 100644
--- a/usr.bin/cvs/util.h
+++ b/usr.bin/cvs/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.11 2007/01/03 14:08:09 xsa Exp $ */
+/* $OpenBSD: util.h,v 1.12 2007/01/07 01:53:12 joris Exp $ */
/*
* Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -36,7 +36,7 @@ void cvs_mkadmin(const char *, const char *, const char *,
char *, char *, int);
void cvs_mkpath(const char *);
int cvs_cksum(const char *, char *, size_t);
-int cvs_exec(int, char **, int []);
+int cvs_exec(int, char **);
int cvs_getargv(const char *, char **, int);
int cvs_chdir(const char *, int);
int cvs_rename(const char *, const char *);