diff options
author | Christophe Grenier <[email protected]> | 2020-09-11 12:58:00 +0200 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2020-09-11 12:58:00 +0200 |
commit | 79e2b889daf9992e4ed2c08b572a1544d62ed119 (patch) | |
tree | b145c002378162534b656bfb1c622acf9ee53318 /src/file_icns.c | |
parent | 4ba942d12e7094004074b6808f2532b8f877019e (diff) |
PhotoRec: add an ifdef in each file for easier frama-c testing
Diffstat (limited to 'src/file_icns.c')
-rw-r--r-- | src/file_icns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file_icns.c b/src/file_icns.c index 20d5d126..d7f60634 100644 --- a/src/file_icns.c +++ b/src/file_icns.c @@ -20,6 +20,7 @@ */ +#if !defined(SINGLE_FORMAT) || defined(SINGLE_FORMAT_icns) #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -52,7 +53,7 @@ struct icon_data { char type[4]; uint32_t size; - uint8_t data[0]; +// uint8_t data[0]; }; static int check_icon_type(const char *type) @@ -120,3 +121,4 @@ static void register_header_check_icns(file_stat_t *file_stat) { register_header_check(0, "icns", 4, &header_check_icns, file_stat); } +#endif |