9
0
Fork 0

svn_rev_099

removed ifdefs
This commit is contained in:
Sascha Hauer 2007-07-05 18:01:22 +02:00 committed by Sascha Hauer
parent f41ea19ff5
commit 573461dfe8
6 changed files with 0 additions and 31 deletions

View File

@ -1,7 +1,6 @@
#include <config.h>
#include <common.h>
#include <watchdog.h>
#ifdef CONFIG_BZIP2
/*
* This file is a modified version of bzlib.c from the bzip2-1.0.2
@ -1591,10 +1590,3 @@ const char * BZ_API(BZ2_bzerror) (BZFILE *b, int *errnum)
return bzerrorstrings[err*-1];
}
#endif
/*-------------------------------------------------------------*/
/*--- end bzlib.c ---*/
/*-------------------------------------------------------------*/
#endif /* CONFIG_BZIP2 */

View File

@ -1,5 +1,4 @@
#include <config.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Table for doing CRCs ---*/
@ -144,5 +143,3 @@ UInt32 BZ2_crc32Table[256] = {
/*-------------------------------------------------------------*/
/*--- end crctable.c ---*/
/*-------------------------------------------------------------*/
#endif /* CONFIG_BZIP2 */

View File

@ -1,7 +1,6 @@
#include <config.h>
#include <common.h>
#include <watchdog.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Decompression machinery ---*/
@ -673,5 +672,3 @@ Int32 BZ2_decompress ( DState* s )
/*-------------------------------------------------------------*/
/*--- end decompress.c ---*/
/*-------------------------------------------------------------*/
#endif /* CONFIG_BZIP2 */

View File

@ -1,5 +1,4 @@
#include <config.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Huffman coding low-level stuff ---*/
@ -228,5 +227,3 @@ void BZ2_hbCreateDecodeTables ( Int32 *limit,
/*-------------------------------------------------------------*/
/*--- end huffman.c ---*/
/*-------------------------------------------------------------*/
#endif /* CONFIG_BZIP2 */

View File

@ -1,5 +1,4 @@
#include <config.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Table for randomising repetitive blocks ---*/
@ -125,4 +124,3 @@ Int32 BZ2_rNums[512] = {
/*--- end randtable.c ---*/
/*-------------------------------------------------------------*/
#endif /* CONFIG_BZIP2 */

View File

@ -23,18 +23,6 @@
#include <common.h>
int display_options (void)
{
extern char version_string[];
#if defined(BUILD_TAG)
printf ("\n\n%s, Build: %s\n\n", version_string, BUILD_TAG);
#else
printf ("\n\n%s\n\n", version_string);
#endif
return 0;
}
/*
* print sizes as "xxx kB", "xxx.y kB", "xxx MB" or "xxx.y MB" as needed;
* allow for optional trailing string (like "\n")