]> git.ozlabs.org Git - ccan/blobdiff - ccan/endian/test/compile_ok-constant.c
endian: remove unnecessary _CONST postfixes.
[ccan] / ccan / endian / test / compile_ok-constant.c
index 5f172f78b1412143923f705d49ea1c50dca521bf..1aef1dd1997cb7220fb039a59b9c63fde0929ad6 100644 (file)
@@ -1,9 +1,9 @@
 #include <ccan/endian/endian.h>
 
 struct foo {
-       char one[BSWAP_16_CONST(0xFF00)];
-       char two[BSWAP_32_CONST(0xFF000000)];
-       char three[BSWAP_64_CONST(0xFF00000000000000ULL)];
+       char one[BSWAP_16(0xFF00)];
+       char two[BSWAP_32(0xFF000000)];
+       char three[BSWAP_64(0xFF00000000000000ULL)];
 };
 
 int main(void)