From: zinovik Date: Sun, 1 Aug 2010 09:19:29 +0000 (+0000) Subject: change returning type to void like it is done in OpenRCS:buf_release() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bac54d965778ac6640a8a9b5aaefccab1adcb833;p=openbsd change returning type to void like it is done in OpenRCS:buf_release() ok nicm@ --- 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 * 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);