aboutsummaryrefslogtreecommitdiffstats
path: root/libar2.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libar2.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libar2.h b/libar2.h
index 862723f..2628217 100644
--- a/libar2.h
+++ b/libar2.h
@@ -5,6 +5,11 @@
#include <stddef.h>
#include <stdint.h>
+#if defined(__clang__)
+# pragma clang diagnostic push
+# pragma clang diagnostic ignored "-Wpadded"
+#endif
+
/* for internal use { */
#ifndef LIBAR2_PUBLIC__
@@ -643,4 +648,8 @@ void libar2_erase(volatile void *mem, size_t size);
LIBAR2_PUBLIC__
int libar2_hash(void *hash, void *msg, size_t msglen, struct libar2_argon2_parameters *params, struct libar2_context *ctx);
+#if defined(__clang__)
+# pragma clang diagnostic pop
+#endif
+
#endif