imagex.c: Remove unused swap() macro
authorEric Biggers <ebiggers3@gmail.com>
Tue, 30 Oct 2012 01:21:56 +0000 (20:21 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 30 Oct 2012 01:21:56 +0000 (20:21 -0500)
programs/imagex.c

index d12c8f71e35d1025198147d8725fe92fad876275..8e9e95218794e2481827406bcbf15781e6e30957 100644 (file)
@@ -35,9 +35,6 @@
 
 #define ARRAY_LEN(array) (sizeof(array) / sizeof(array[0]))
 
-#define swap(a, b) ({ typeof(a) __a = (a); typeof(b) __b = (b); \
-                               a = __b; b = __a; })
-
 #define for_opt(c, opts) while ((c = getopt_long_only(argc, (char**)argv, "", \
                                opts, NULL)) != -1)