summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/msg.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-12-07 17:10:56 +0000
committertedu <tedu@openbsd.org>2004-12-07 17:10:56 +0000
commita176bc3ee0772f34303003a5d023d099e5458b4c (patch)
tree700dea46dcad9da741b27f39f1f6156607eff32f /usr.bin/cvs/msg.c
parentavoid a crash when receiving either a Created, Updated, Update-existing (diff)
downloadwireguard-openbsd-a176bc3ee0772f34303003a5d023d099e5458b4c.tar.xz
wireguard-openbsd-a176bc3ee0772f34303003a5d023d099e5458b4c.zip
less whitespace, more pretty. ok jfb
Diffstat (limited to 'usr.bin/cvs/msg.c')
-rw-r--r--usr.bin/cvs/msg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/cvs/msg.c b/usr.bin/cvs/msg.c
index 2134b394032..16a263c69df 100644
--- a/usr.bin/cvs/msg.c
+++ b/usr.bin/cvs/msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msg.c,v 1.5 2004/12/06 21:03:12 deraadt Exp $ */
+/* $OpenBSD: msg.c,v 1.6 2004/12/07 17:10:56 tedu Exp $ */
/*
* Copyright (c) 2002 Matthieu Herrb
* Copyright (c) 2001 Niels Provos <provos@citi.umich.edu>
@@ -37,7 +37,6 @@
*
* Pass a file descriptor <fd> to the other endpoint of the socket <sock>.
*/
-
int
cvsd_sendfd(int sock, int fd)
{
@@ -81,7 +80,6 @@ cvsd_sendfd(int sock, int fd)
* Receive a file descriptor over the socket <sock>. Returns the descriptor
* on success, or -1 on failure.
*/
-
int
cvsd_recvfd(int sock)
{
@@ -129,7 +127,6 @@ cvsd_recvfd(int sock)
* <fd>.
* Returns 0 on success, or -1 on failure.
*/
-
int
cvsd_sendmsg(int fd, u_int type, const void *data, size_t len)
{
@@ -181,7 +178,6 @@ cvsd_sendmsg(int fd, u_int type, const void *data, size_t len)
* Returns 1 if a message was read, 0 if the remote end closed the message
* socket and no further messages can be read, or -1 on failure.
*/
-
int
cvsd_recvmsg(int fd, u_int *type, void *dst, size_t *len)
{