diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2021-02-06 11:44:49 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2021-02-06 11:47:11 +0100 |
commit | 7e3c56ba1ef20d10d0dc3126d3d52d5c4fef5517 (patch) | |
tree | 16e29d49db4e8155f4f6c634aa2e793b3263b8e3 /libsecret/secret-attributes.h | |
parent | 5e21132da10322ae094c5cb0527ece84d90e85e4 (diff) | |
download | libsecret-7e3c56ba1ef20d10d0dc3126d3d52d5c4fef5517.tar.gz |
Use G_GNUC_NULL_TERMINATED where appropriatewip/nielsdg/null-terminated-annotations
Give our API consumers an extra hint if they're using varargs without an
appropriate `NULL`-sentinel.
Diffstat (limited to 'libsecret/secret-attributes.h')
-rw-r--r-- | libsecret/secret-attributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsecret/secret-attributes.h b/libsecret/secret-attributes.h index 43e6035..5ec1931 100644 --- a/libsecret/secret-attributes.h +++ b/libsecret/secret-attributes.h @@ -27,7 +27,7 @@ G_BEGIN_DECLS GHashTable * secret_attributes_build (const SecretSchema *schema, - ...); + ...) G_GNUC_NULL_TERMINATED; GHashTable * secret_attributes_buildv (const SecretSchema *schema, va_list va); |