artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f005a
)
change returning type to void like it is done in OpenRCS:buf_release()
author
zinovik
<zinovik@openbsd.org>
Sun, 1 Aug 2010 09:19:29 +0000
(09:19 +0000)
committer
zinovik
<zinovik@openbsd.org>
Sun, 1 Aug 2010 09:19:29 +0000
(09:19 +0000)
ok nicm@
usr.bin/cvs/buf.c
patch
|
blob
|
history
diff --git
a/usr.bin/cvs/buf.c
b/usr.bin/cvs/buf.c
index
dd16124
..
9102a5d
100644
(file)
--- a/
usr.bin/cvs/buf.c
+++ b/
usr.bin/cvs/buf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: buf.c,v 1.7
7 2010/07/31 16:28:31
zinovik Exp $ */
+/* $OpenBSD: buf.c,v 1.7
8 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);