From: zinovik Date: Sun, 1 Aug 2010 09:55:40 +0000 (+0000) Subject: change buf_release() prototype accordingly to buf.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=490e89ad1731c0c653e23bf6b1671f217dcdeb7d;p=openbsd change buf_release() prototype accordingly to buf.c unbreaks opencvs build --- diff --git a/usr.bin/cvs/buf.h b/usr.bin/cvs/buf.h index 82c8398e6c4..8e282dd6f3f 100644 --- a/usr.bin/cvs/buf.h +++ b/usr.bin/cvs/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.27 2010/07/23 21:46:05 ray Exp $ */ +/* $OpenBSD: buf.h,v 1.28 2010/08/01 09:55:40 zinovik Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau * All rights reserved. @@ -35,7 +35,7 @@ BUF *buf_alloc(size_t); BUF *buf_load(const char *); BUF *buf_load_fd(int); void buf_free(BUF *); -u_char *buf_release(BUF *); +void *buf_release(BUF *); u_char *buf_get(BUF *); void buf_append(BUF *, const void *, size_t); void buf_putc(BUF *, int);