diff options
author | bcallah@devio.us <bcallah@devio.us> | 2016-07-14 14:15:41 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-07-14 14:15:41 -0700 |
commit | 065c34273c0d7c4aa669b9a926ae50ae3963dbb9 (patch) | |
tree | 2d6ab8b35e67a738e835481566e9cb488e8532e5 /rdoff | |
parent | 2fc232bd235f969224e6238fb037720d6de8449e (diff) | |
download | nasm-065c34273c0d7c4aa669b9a926ae50ae3963dbb9.tar.gz |
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>
Diffstat (limited to 'rdoff')
-rw-r--r-- | rdoff/rdoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |