summaryrefslogtreecommitdiff
path: root/asm/listing.h
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-16 00:08:27 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-16 00:08:27 -0700
commit8b6e6bf04f6f62a576ae818758d6d5a58ca69a5d (patch)
tree1aa4af4af6e7ce892da9aaf8d9834356be8c428e /asm/listing.h
parent9fbd9fb8596af9fd4cdf6a962e53f9d5e18d7d87 (diff)
downloadnasm-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.h2
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