aboutsummaryrefslogtreecommitdiffstats
path: root/libar2_erase.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-01-19 22:50:49 +0100
committerMattias Andrée <maandree@kth.se>2022-01-19 22:50:49 +0100
commit3e3b07bfcb352e0931a58db2735390c71f1a84a2 (patch)
tree90f0ff7f59277d93f98bea498abedb996e3aa340 /libar2_erase.c
parentImprove portability (diff)
downloadlibar2-3e3b07bfcb352e0931a58db2735390c71f1a84a2.tar.gz
libar2-3e3b07bfcb352e0931a58db2735390c71f1a84a2.tar.bz2
libar2-3e3b07bfcb352e0931a58db2735390c71f1a84a2.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libar2_erase.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libar2_erase.c b/libar2_erase.c
index 417842f..6760390 100644
--- a/libar2_erase.c
+++ b/libar2_erase.c
@@ -9,6 +9,7 @@
# if defined(__GNUC__)
__attribute__((visibility("hidden")))
# endif
+extern void *(*const volatile libar2_internal_explicit_memset__)(void *, int, size_t);
void *(*const volatile libar2_internal_explicit_memset__)(void *, int, size_t) = &memset;
#endif