summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorzinovik <zinovik@cvs.openbsd.org>2010-08-01 09:19:30 +0000
committerzinovik <zinovik@cvs.openbsd.org>2010-08-01 09:19:30 +0000
commitb45f5f7c5032baa7caaefcba89b62581b57df39a (patch)
tree6330f0ddbda6c9fb16a506389e14e0f160399546 /usr.bin
parent7c9efe83a83aef1db5a92d47bdc1fa81feef1bcf (diff)
change returning type to void like it is done in OpenRCS:buf_release()
ok nicm@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/buf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/buf.c b/usr.bin/cvs/buf.c
index dd161245fd0..9102a5dcab4 100644
--- a/usr.bin/cvs/buf.c
+++ b/usr.bin/cvs/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.77 2010/07/31 16:28:31 zinovik Exp $ */
+/* $OpenBSD: buf.c,v 1.78 2010/08/01 09:19:29 zinovik Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -112,10 +112,10 @@ buf_free(BUF *b)
xfree(b);
}
-u_char *
+void *
buf_release(BUF *b)
{
- u_char *tmp;
+ void *tmp;
tmp = b->cb_buf;
xfree(b);