diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-17 17:19:28 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-17 17:19:28 +0100 |
commit | f677983078a0e5afc0dda3c3273f86ea304ddba4 (patch) | |
tree | 71226709b35b890430c83a4737ef17a5882fa8a8 /common.h | |
parent | libar2_erase.3: mention weak linking (diff) | |
download | libar2-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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 { |