diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-21 14:09:16 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-21 14:58:07 +0100 |
commit | 13a1b45058d2203c51c0ec2d5ccf24696d6bd960 (patch) | |
tree | 12838da67f865e8aae86ae0e24db50b0c34ec252 /lib | |
parent | 150cf52a3e904442fe55d731c55a528a17da3584 (diff) | |
download | barebox-13a1b45058d2203c51c0ec2d5ccf24696d6bd960.tar.gz barebox-13a1b45058d2203c51c0ec2d5ccf24696d6bd960.tar.xz |
lib: decompress: remove redundant INT_MAX define
lib/decompress_bunzip2.c includes <common.h> and INT_MAX is already
defined there. The definition in this file is redundant.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/decompress_bunzip2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c index 0ca2dcd400..ee2862bebb 100644 --- a/lib/decompress_bunzip2.c +++ b/lib/decompress_bunzip2.c @@ -53,10 +53,6 @@ #include <bunzip2.h> #endif /* STATIC */ -#ifndef INT_MAX -#define INT_MAX 0x7fffffff -#endif - /* Constants for Huffman coding */ #define MAX_GROUPS 6 #define GROUP_SIZE 50 /* 64 would have been more efficient */ |