mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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:
parent
2fc232bd23
commit
065c34273c
@ -69,7 +69,7 @@
|
||||
* how int32_t it is).
|
||||
* ======================================================================== */
|
||||
|
||||
static memorybuffer *newmembuf()
|
||||
static memorybuffer *newmembuf(void)
|
||||
{
|
||||
memorybuffer *t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user