1 #include <tar.h> 2 #define C(n) switch(n){case n:;} f()3static void f() 4 { 5 {char s[] = "" TMAGIC;} 6 C(TMAGLEN) 7 {char s[] = "" TVERSION;} 8 C(TVERSLEN) 9 C(REGTYPE) 10 C(AREGTYPE) 11 C(LNKTYPE) 12 C(SYMTYPE) 13 C(CHRTYPE) 14 C(BLKTYPE) 15 C(DIRTYPE) 16 C(FIFOTYPE) 17 C(CONTTYPE) 18 C(TSUID) 19 C(TSGID) 20 #ifdef _XOPEN_SOURCE 21 C(TSVTX) 22 #endif 23 C(TUREAD) 24 C(TUWRITE) 25 C(TUEXEC) 26 C(TGREAD) 27 C(TGWRITE) 28 C(TGEXEC) 29 C(TOREAD) 30 C(TOWRITE) 31 C(TOEXEC) 32 } 33 34