diff options
| author | Michael Forney <mforney@mforney.org> | 2020-07-04 14:15:18 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-07-05 16:15:41 -0700 |
| commit | 45bed1bd9c257f2a7718d50e77d227433e9fe549 (patch) | |
| tree | 22c587be1cb9613028d3c89a3536b602678abfbb /pkg/nasm/config.h | |
| parent | 4b02639f2d50d8c137750f603abf1390c3477ca2 (diff) | |
nasm: Update to 2.15.02
Diffstat (limited to 'pkg/nasm/config.h')
| -rw-r--r-- | pkg/nasm/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/nasm/config.h b/pkg/nasm/config.h index 87869c0c..8527b6c1 100644 --- a/pkg/nasm/config.h +++ b/pkg/nasm/config.h @@ -18,6 +18,8 @@ #define CFLAGS_W 1 #define CFLAGS_WALL 1 #define CFLAGS_WC90_C99_COMPAT 1 +/* #undef CFLAGS_WC99_COMPAT */ +/* #undef CFLAGS_WC99_EXTENSIONS */ /* #undef CFLAGS_WERROR */ #define CFLAGS_WERROR_ATTRIBUTES 1 #define CFLAGS_WERROR_COMMENT 1 @@ -66,6 +68,7 @@ #define HAVE_FUNC_ATTRIBUTE_PURE 1 #define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1 #define HAVE_FUNC_ATTRIBUTE_SENTINEL 1 +#define HAVE_FUNC_ATTRIBUTE_UNUSED 1 #define HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE 1 /* #undef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE */ #define HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT 1 @@ -76,6 +79,7 @@ /* #undef HAVE_FUNC_PTR_ATTRIBUTE_PURE */ #define HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL 1 #define HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL 1 +#define HAVE_FUNC_PTR_ATTRIBUTE_UNUSED 1 #define HAVE_GETGID 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRLIMIT 1 @@ -291,6 +295,20 @@ # define unlikely_func_ptr # endif #endif +#ifndef unused_func +# ifdef HAVE_FUNC_ATTRIBUTE_UNUSED +# define unused_func __attribute__((unused)) +# else +# define unused_func +# endif +#endif +#ifndef unused_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED +# define unused_func_ptr __attribute__((unused)) +# else +# define unused_func_ptr +# endif +#endif #ifndef never_null # ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL # define never_null __attribute__((returns_nonnull)) |
