]> mj.ucw.cz Git - libucw.git/commitdiff
Added a macro for __attribute__((const)).
authorMartin Mares <mj@ucw.cz>
Fri, 31 May 2002 13:57:00 +0000 (13:57 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 31 May 2002 13:57:00 +0000 (13:57 +0000)
Robert, please update your hash functions to use this.

lib/config.h

index 0cee3ffe02f54693aa16e25e9c30c0349400ec72..f1a5af12a94c4a168cdc1bdafff06b3faee984b5 100644 (file)
@@ -78,6 +78,7 @@ typedef s32 sh_off_t;
 #define UNUSED __attribute__((unused))
 #define CONSTRUCTOR __attribute__((constructor))
 #define PACKED __attribute__((packed))
+#define CONST __attribute__((const))
 
 #else
 #error This program requires the GNU C compiler.