aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorbcallah@devio.us <bcallah@devio.us>2016-07-14 14:15:41 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-07-14 14:15:41 -0700
commit065c34273c0d7c4aa669b9a926ae50ae3963dbb9 (patch)
tree2d6ab8b35e67a738e835481566e9cb488e8532e5 /rdoff
parent2fc232bd235f969224e6238fb037720d6de8449e (diff)
downloadnasm-065c34273c0d7c4aa669b9a926ae50ae3963dbb9.tar.gz
nasm-065c34273c0d7c4aa669b9a926ae50ae3963dbb9.tar.xz
nasm-065c34273c0d7c4aa669b9a926ae50ae3963dbb9.zip
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.c2
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;