change returning type to void like it is done in OpenRCS:buf_release()
authorzinovik <zinovik@openbsd.org>
Sun, 1 Aug 2010 09:19:29 +0000 (09:19 +0000)
committerzinovik <zinovik@openbsd.org>
Sun, 1 Aug 2010 09:19:29 +0000 (09:19 +0000)
ok nicm@

usr.bin/cvs/buf.c

index dd16124..9102a5d 100644 (file)
@@ -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);