From 065c34273c0d7c4aa669b9a926ae50ae3963dbb9 Mon Sep 17 00:00:00 2001 From: "bcallah@devio.us" Date: Thu, 14 Jul 2016 14:15:41 -0700 Subject: [PATCH] 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 --- rdoff/rdoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c index f451ce12..9f2ac2af 100644 --- a/rdoff/rdoff.c +++ b/rdoff/rdoff.c @@ -69,7 +69,7 @@ * how int32_t it is). * ======================================================================== */ -static memorybuffer *newmembuf() +static memorybuffer *newmembuf(void) { memorybuffer *t; -- 2.11.4.GIT