summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2004-08-02 17:32:48 +0000
committerjfb <jfb@openbsd.org>2004-08-02 17:32:48 +0000
commitd465e6d39a2546ccc25816e7c447aa1472dcf48c (patch)
treed07f595d99eadde848b64400bde0ddab7768a15a
parent* add the appropriate preprocessor wrappers to compile only the code (diff)
downloadwireguard-openbsd-d465e6d39a2546ccc25816e7c447aa1472dcf48c.tar.xz
wireguard-openbsd-d465e6d39a2546ccc25816e7c447aa1472dcf48c.zip
* no locks for now
-rw-r--r--usr.bin/cvs/cvs/Makefile6
-rw-r--r--usr.bin/cvs/lock.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/cvs/cvs/Makefile b/usr.bin/cvs/cvs/Makefile
index b29f3aef641..2b5ab077f21 100644
--- a/usr.bin/cvs/cvs/Makefile
+++ b/usr.bin/cvs/cvs/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2004/07/30 17:44:49 jfb Exp $
+# $Id: Makefile,v 1.7 2004/08/02 17:32:48 jfb Exp $
.PATH: ${.CURDIR}/..
@@ -6,7 +6,7 @@ PROG=cvs
MAN=cvs.1 cvsrc.5
SRCS= cvs.c add.c buf.c checkout.c commit.c diff.c entries.c file.c \
- getlog.c history.c hist.c init.c lock.c log.c proto.c rcs.c rcsnum.c \
+ getlog.c history.c hist.c init.c log.c proto.c rcs.c rcsnum.c \
root.c server.c sock.c status.c update.c util.c version.c
BINDIR=/usr/bin
@@ -14,7 +14,7 @@ BINOWN=root
BINGRP=_cvsd
BINMODE=2555
-CFLAGS+= -DDEBUG -Wall
+CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wsign-compare
CFLAGS+= -DCVS
diff --git a/usr.bin/cvs/lock.c b/usr.bin/cvs/lock.c
index 7425822e42f..a0cc720e579 100644
--- a/usr.bin/cvs/lock.c
+++ b/usr.bin/cvs/lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lock.c,v 1.1.1.1 2004/07/13 22:02:40 jfb Exp $ */
+/* $OpenBSD: lock.c,v 1.2 2004/08/02 17:32:48 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -62,4 +62,5 @@ cvs_unlock(const char *path)
+ return (0);
}