summaryrefslogtreecommitdiffstats
path: root/lib/libstand/bzlib.c.diff
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-02-01 16:33:40 +0000
committersobomax <sobomax@FreeBSD.org>2002-02-01 16:33:40 +0000
commit539011fe16de0fa4f5b918d9880bbadde16a466f (patch)
tree65d0cce39d6af5cb87b36d7af78387c3e03b447f /lib/libstand/bzlib.c.diff
parentec6d600e40c8e9c2a5538cf793956c2b074b1af4 (diff)
downloadFreeBSD-src-539011fe16de0fa4f5b918d9880bbadde16a466f.zip
FreeBSD-src-539011fe16de0fa4f5b918d9880bbadde16a466f.tar.gz
Complete bzip2-1.0.2 import.
MFC in: 14 days
Diffstat (limited to 'lib/libstand/bzlib.c.diff')
-rw-r--r--lib/libstand/bzlib.c.diff21
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/libstand/bzlib.c.diff b/lib/libstand/bzlib.c.diff
index f13482b..cbc800d 100644
--- a/lib/libstand/bzlib.c.diff
+++ b/lib/libstand/bzlib.c.diff
@@ -3,17 +3,20 @@ $FreeBSD$
A patch to avoid linking into libstand compression routines from the bzip2
that never being used anyway, while bloat loader(8) by additional 15KB.
---- _bzlib.c 2001/09/13 12:20:50 1.1
-+++ _bzlib.c 2001/09/13 12:29:24
-@@ -75,6 +75,7 @@
+--- _bzlib.c 2001/09/13 12:20:50 1.1
++++ _bzlib.c 2001/09/13 12:29:24
+@@ -73,8 +73,9 @@
+ bzBuffToBuffDecompress. Fixed.
+ --*/
- #include "bzlib_private.h"
+-#include "bzlib_private.h"
++#include "_bzlib_private.h"
+#ifndef BZ_NO_COMPRESS
/*---------------------------------------------------*/
/*--- Compression stuff ---*/
-@@ -101,6 +102,7 @@
+@@ -130,6 +131,7 @@
}
#endif
@@ -21,7 +24,7 @@ that never being used anyway, while bloat loader(8) by additional 15KB.
/*---------------------------------------------------*/
static
-@@ -127,6 +128,7 @@
+@@ -156,6 +158,7 @@
if (addr != NULL) free ( addr );
}
@@ -29,7 +32,7 @@ that never being used anyway, while bloat loader(8) by additional 15KB.
/*---------------------------------------------------*/
static
-@@ -499,6 +501,7 @@
+@@ -528,6 +531,7 @@
return BZ_OK;
}
@@ -37,7 +40,7 @@ that never being used anyway, while bloat loader(8) by additional 15KB.
/*---------------------------------------------------*/
/*--- Decompression stuff ---*/
-@@ -869,6 +869,7 @@
+@@ -898,6 +902,7 @@
return BZ_OK;
}
@@ -45,7 +48,7 @@ that never being used anyway, while bloat loader(8) by additional 15KB.
#ifndef BZ_NO_STDIO
/*---------------------------------------------------*/
-@@ -1558,6 +1559,7 @@
+@@ -1587,6 +1592,7 @@
}
#endif
OpenPOWER on IntegriCloud