Mercurial > hg > openttd
comparison src/minilzo.cpp @ 6247:57363e064324 draft
(svn r9050) -Codechange: Foo(void) -> Foo()
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 07 Mar 2007 11:47:46 +0000 |
parents | 3b141366478a |
children | 4aa2ed8e5f36 |
comparison
equal
deleted
inserted
replaced
6246:36f9fa2bd845 | 6247:57363e064324 |
---|---|
268 # endif | 268 # endif |
269 #endif | 269 #endif |
270 | 270 |
271 __LZO_EXTERN_C int __lzo_init_done; | 271 __LZO_EXTERN_C int __lzo_init_done; |
272 __LZO_EXTERN_C const lzo_byte __lzo_copyright[]; | 272 __LZO_EXTERN_C const lzo_byte __lzo_copyright[]; |
273 LZO_EXTERN(const lzo_byte *) lzo_copyright(void); | 273 LZO_EXTERN(const lzo_byte *) lzo_copyright(); |
274 __LZO_EXTERN_C const lzo_uint32 _lzo_crc32_table[256]; | 274 __LZO_EXTERN_C const lzo_uint32 _lzo_crc32_table[256]; |
275 | 275 |
276 #define _LZO_STRINGIZE(x) #x | 276 #define _LZO_STRINGIZE(x) #x |
277 #define _LZO_MEXPAND(x) _LZO_STRINGIZE(x) | 277 #define _LZO_MEXPAND(x) _LZO_STRINGIZE(x) |
278 | 278 |
707 # define IS_UNSIGNED(type) (((type) (-1)) > ((type) 0)) | 707 # define IS_UNSIGNED(type) (((type) (-1)) > ((type) 0)) |
708 #endif | 708 #endif |
709 | 709 |
710 #define IS_POWER_OF_2(x) (((x) & ((x) - 1)) == 0) | 710 #define IS_POWER_OF_2(x) (((x) & ((x) - 1)) == 0) |
711 | 711 |
712 // static lzo_bool schedule_insns_bug(void); | 712 // static lzo_bool schedule_insns_bug(); |
713 // static lzo_bool strength_reduce_bug(int *); | 713 // static lzo_bool strength_reduce_bug(int *); |
714 | 714 |
715 #if 0 || defined(LZO_DEBUG) | 715 #if 0 || defined(LZO_DEBUG) |
716 #include <stdio.h> | 716 #include <stdio.h> |
717 static lzo_bool __lzo_assert_fail(const char *s, unsigned line) | 717 static lzo_bool __lzo_assert_fail(const char *s, unsigned line) |