summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index f5a6477852..179d71b4a1 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -77,21 +77,21 @@ typedef int ssize_t;
#endif
#if _GNUTLS_GCC_VERSION >= 30300
-# define nonnull_all __attribute__ ((nonnull))
-# define nonnull(a) __attribute__ ((nonnull a))
+# define attr_nonnull_all __attribute__ ((nonnull))
+# define attr_nonnull(a) __attribute__ ((nonnull a))
#else
-# define G_GNUC_WGET_NONNULL_ALL
-# define G_GNUC_WGET_NONNULL(a)
+# define attr_nonnull_all
+# define attr_nonnull(a)
#endif
#if _GNUTLS_GCC_VERSION >= 30400 && (_GNUTLS_CLANG_VERSION == 0 || _GNUTLS_CLANG_VERSION >= 40000)
-# define warn_unused_result __attribute__((warn_unused_result))
+# define attr_warn_unused_result __attribute__((warn_unused_result))
#else
-# define warn_unused_result
+# define attr_warn_unused_result
#endif
#if _GNUTLS_GCC_VERSION >= 70100
-# define FALLTHROUGH __attribute__ ((fallthrough))
+# define FALLTHROUGH __attribute__ ((fallthrough))
#else
# define FALLTHROUGH
#endif