summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/buf.c
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2006-06-01 21:28:25 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2006-06-01 21:28:25 +0000
commit1ca75a8186dffae1436a988a506991f6aac65110 (patch)
tree018bd6f93b44db4d169626f7e2e5b1a9725dc71e /usr.bin/rcs/buf.c
parent82e27932bd745e1b45c759c179d07be75c0a9fa2 (diff)
- rcs_buf_release() has no need for u_char since it returns void *
Diffstat (limited to 'usr.bin/rcs/buf.c')
-rw-r--r--usr.bin/rcs/buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/buf.c b/usr.bin/rcs/buf.c
index 4c4610de754..f1ac7dfd108 100644
--- a/usr.bin/rcs/buf.c
+++ b/usr.bin/rcs/buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.c,v 1.3 2006/04/26 15:08:25 xsa Exp $ */
+/* $OpenBSD: buf.c,v 1.4 2006/06/01 21:28:24 niallo Exp $ */
/*
* Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -142,7 +142,7 @@ rcs_buf_free(BUF *b)
void *
rcs_buf_release(BUF *b)
{
- u_char *tmp;
+ void *tmp;
tmp = b->cb_buf;
xfree(b);