aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-17 17:19:28 +0100
committerMattias Andrée <maandree@kth.se>2022-02-17 17:19:28 +0100
commitf677983078a0e5afc0dda3c3273f86ea304ddba4 (patch)
tree71226709b35b890430c83a4737ef17a5882fa8a8 /common.h
parentlibar2_erase.3: mention weak linking (diff)
downloadlibar2-f677983078a0e5afc0dda3c3273f86ea304ddba4.tar.gz
libar2-f677983078a0e5afc0dda3c3273f86ea304ddba4.tar.bz2
libar2-f677983078a0e5afc0dda3c3273f86ea304ddba4.tar.xz
Remove obsolete macro
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/common.h b/common.h
index 5e744d5..432dff2 100644
--- a/common.h
+++ b/common.h
@@ -108,9 +108,8 @@
#define MIN(A, B) ((A) < (B) ? (A) : (B))
-#define ERASE(PTR, N) libar2_erase(PTR, N)
-#define ERASE_ARRAY(ARR) ERASE(ARR, sizeof(ARR))
-#define ERASE_STRUCT(S) ERASE(&(S), sizeof(S))
+#define ERASE_ARRAY(ARR) libar2_erase(ARR, sizeof(ARR))
+#define ERASE_STRUCT(S) libar2_erase(&(S), sizeof(S))
struct block {