summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/proto.h')
-rw-r--r--usr.bin/cvs/proto.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/cvs/proto.h b/usr.bin/cvs/proto.h
index f354db4cb1c..27f20b49a20 100644
--- a/usr.bin/cvs/proto.h
+++ b/usr.bin/cvs/proto.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.h,v 1.1 2004/07/30 01:49:24 jfb Exp $ */
+/* $OpenBSD: proto.h,v 1.2 2004/07/30 17:37:58 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -28,8 +28,9 @@
#define PROTO_H
#include <sys/param.h>
-#include <stdio.h>
-#include <dirent.h>
+
+#include "buf.h"
+#include "file.h"
#define CVS_REQ_TIMEOUT 300
@@ -145,7 +146,7 @@
int cvs_sendfile (struct cvsroot *, const char *);
-int cvs_recvfile (struct cvsroot *, const char *);
+BUF* cvs_recvfile (struct cvsroot *, mode_t *);
int cvs_connect (struct cvsroot *);
void cvs_disconnect (struct cvsroot *);