summaryrefslogtreecommitdiff
path: root/lib/datum.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/datum.h')
-rw-r--r--lib/datum.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/datum.h b/lib/datum.h
index fe847359b0..3d86a0dc72 100644
--- a/lib/datum.h
+++ b/lib/datum.h
@@ -28,13 +28,13 @@
/* This will copy the provided data in @dat. If the provided data are
* NULL or zero-size @dat will be NULL as well.
*/
-warn_unused_result nonnull((1))
+attr_warn_unused_result attr_nonnull((1))
int _gnutls_set_datum(gnutls_datum_t * dat, const void *data,
size_t data_size);
/* This will always return a non-NULL, and zero-terminated string in @dat.
*/
-warn_unused_result nonnull((1))
+attr_warn_unused_result attr_nonnull((1))
int _gnutls_set_strdatum(gnutls_datum_t * dat, const void *data,
size_t data_size);
@@ -48,7 +48,7 @@ void _gnutls_free_datum(gnutls_datum_t * dat)
}
}
-inline static nonnull_all
+inline static attr_nonnull_all
void _gnutls_free_temp_key_datum(gnutls_datum_t * dat)
{
if (dat->data != NULL) {
@@ -59,7 +59,7 @@ void _gnutls_free_temp_key_datum(gnutls_datum_t * dat)
dat->size = 0;
}
-inline static nonnull_all
+inline static attr_nonnull_all
void _gnutls_free_key_datum(gnutls_datum_t * dat)
{
if (dat->data != NULL) {