header-mangling-part-3-remove-ugly-hacks-for-liblrzi

This commit is contained in:
Con Kolivas 2011-03-09 08:36:07 +11:00
parent 1511c27aad
commit 99c3ea2ab9
6 changed files with 4 additions and 3 deletions

View file

@ -17,7 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined(LIBLRZIP_H) && !defined(MAIN_C)
#ifndef LIBLRZIP_H
#define LIBLRZIP_H
#define FLAG_VERBOSE (FLAG_VERBOSITY | FLAG_VERBOSITY_MAX)

1
main.c
View file

@ -17,7 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* lrzip compression - main program */
#define MAIN_C
#ifdef HAVE_CONFIG_H
# include "config.h"

View file

@ -26,6 +26,7 @@
#include "runzip.h"
#include "stream.h"
#include "util.h"
#include "liblrzip.h"
static inline uchar read_u8(rzip_control *control, void *ss, int stream)
{

1
rzip.c
View file

@ -27,6 +27,7 @@
#include "rzip.h"
#include "stream.h"
#include "util.h"
#include "liblrzip.h"
#define CHUNK_MULTIPLE (100 * 1024 * 1024)
#define CKSUM_CHUNK 1024*1024

1
rzip.h
View file

@ -20,7 +20,6 @@
#ifndef RZIP_H
#define RZIP_H
#include "lrzip.h" /* includes config.h */
#include "liblrzip.h"
#include "md5.h"
#include <sys/types.h>

View file

@ -26,6 +26,7 @@
#include "rzip.h"
#include "util.h"
#include "zpipe.h"
#include "liblrzip.h"
#define STREAM_BUFSIZE (1024 * 1024 * 10)