Skip to content

Commit

Permalink
Add explicit void parameter to newmembuf() function declaration.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
[email protected] authored and H. Peter Anvin committed Jul 14, 2016
1 parent 2fc232b commit 065c342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdoff/rdoff.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
* how int32_t it is).
* ======================================================================== */

static memorybuffer *newmembuf()
static memorybuffer *newmembuf(void)
{
memorybuffer *t;

Expand Down

0 comments on commit 065c342

Please sign in to comment.