summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-06-03 21:53:05 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2019-06-04 10:37:27 +0200
commit28f99ec66419477cc23481caf7fb54ee9ec093bf (patch)
tree3124c92127498081bb3941113c57eccdbf11cb8b /lib/gnutls_int.h
parenta050ec0c0d97335864e8e315e6d628dd7c4c3d10 (diff)
downloadgnutls-28f99ec66419477cc23481caf7fb54ee9ec093bf.tar.gz
Prefix gcc attributes with 'attr_'tmp-fix-travis2
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
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