diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-08-16 00:08:27 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2019-08-16 00:08:27 -0700 |
commit | 8b6e6bf04f6f62a576ae818758d6d5a58ca69a5d (patch) | |
tree | 1aa4af4af6e7ce892da9aaf8d9834356be8c428e /asm/listing.h | |
parent | 9fbd9fb8596af9fd4cdf6a962e53f9d5e18d7d87 (diff) | |
download | nasm-8b6e6bf04f6f62a576ae818758d6d5a58ca69a5d.tar.gz |
config.h: separate function and function pointer attributes; automate
Separate out function and function pointer attributes, as not all
versions of all compilers support both.
Have macros related to function attributes auto-generated by
autoheader. As a result, rename config.h.in to unconfig.h, to make it
more obvious that it is really intended to be included from some C
programs.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'asm/listing.h')
-rw-r--r-- | asm/listing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/listing.h b/asm/listing.h index 21c46775..6156df5a 100644 --- a/asm/listing.h +++ b/asm/listing.h @@ -102,7 +102,7 @@ struct lfmt { /* * Called on a warning or error, with the error message. */ - void printf_func(2, 3) (*error)(errflags severity, const char *fmt, ...); + void printf_func_ptr(2, 3) (*error)(errflags severity, const char *fmt, ...); /* * Update the current offset. Used to give the listing generator |