Add explicit void parameter to newmembuf() function declaration.

In rdoff/rdoff.c, the function declaration for newmembuf is written:
static memorybuf *newmembuf()
The attached diff adds an explicit void parameter.
It seems like it would be nicer with an explicit void parameter
especially since the -Werror build options seem to want to find such
things.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
bcallah@devio.us 2016-07-14 14:15:41 -07:00 committed by H. Peter Anvin
parent 2fc232bd23
commit 065c34273c

View File

@ -69,7 +69,7 @@
* how int32_t it is).
* ======================================================================== */
static memorybuffer *newmembuf()
static memorybuffer *newmembuf(void)
{
memorybuffer *t;