summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-08-19 15:42:54 +0200
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:57:21 +0200
commit87004efe6d30f42f997135e62ebe410ed1a70a8f (patch)
tree91c7e8ab6620c361f93d28be86cc401720c0abdb /src
parent4302bb274739a5551ba7608fffde31478278d6ee (diff)
Refactor: Remove a few unused macros
Diffstat (limited to 'src')
-rw-r--r--src/z-virt.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/z-virt.h b/src/z-virt.h
index 9b725be5..cde14f6c 100644
--- a/src/z-virt.h
+++ b/src/z-virt.h
@@ -63,24 +63,6 @@ extern "C" {
((huge)(sizeof(T)))
-/* Compare two arrays of type T[N], at locations P1 and P2 */
-#define C_DIFF(P1,P2,N,T) \
- (memcmp((char*)(P1),(char*)(P2),C_SIZE(N,T)))
-
-/* Compare two things of type T, at locations P1 and P2 */
-#define DIFF(P1,P2,T) \
- (memcmp((char*)(P1),(char*)(P2),SIZE(T)))
-
-
-/* Set every byte in an array of type T[N], at location P, to V, and return P */
-#define C_BSET(P,V,N,T) \
- (T*)(memset((char*)(P),(V),C_SIZE(N,T)))
-
-/* Set every byte in a thing of type T, at location P, to V, and return P */
-#define BSET(P,V,T) \
- (T*)(memset((char*)(P),(V),SIZE(T)))
-
-
/* Wipe an array of type T[N], at location P, and return P */
#define C_WIPE(P,N,T) \
(T*)(memset((char*)(P),0,C_SIZE(N,T)))