aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-01-17 16:48:23 +0100
committerMattias Andrée <maandree@kth.se>2022-01-17 16:48:23 +0100
commit77511c68e4f8dad16bd215b541c53cd730d0df51 (patch)
tree0d1595551ec08d86b9cf592fa47fda1740ee087d /common.h
parenttest: improve portability (diff)
downloadlibar2-77511c68e4f8dad16bd215b541c53cd730d0df51.tar.gz
libar2-77511c68e4f8dad16bd215b541c53cd730d0df51.tar.bz2
libar2-77511c68e4f8dad16bd215b541c53cd730d0df51.tar.xz
Fix typo: libar2_earse -> libar2_erase
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index dd6f6c1..ba49332 100644
--- a/common.h
+++ b/common.h
@@ -54,7 +54,7 @@
#define MIN(A, B) ((A) < (B) ? (A) : (B))
-#define ERASE(PTR, N) libar2_earse(PTR, N)
+#define ERASE(PTR, N) libar2_erase(PTR, N)
#define ERASE_ARRAY(ARR) ERASE(ARR, sizeof(ARR))
#define ERASE_STRUCT(S) ERASE(&(S), sizeof(S))