From 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 11 Sep 2008 20:02:38 +0300 Subject: [PATCH] Remove bogus #includes. --- src/liblzma/common/Makefile.am | 1 - src/liblzma/common/stream_decoder.c | 3 --- src/liblzma/common/stream_encoder.c | 1 - src/liblzma/common/stream_flags_decoder.h | 31 ----------------------- 4 files changed, 36 deletions(-) delete mode 100644 src/liblzma/common/stream_flags_decoder.h diff --git a/src/liblzma/common/Makefile.am b/src/liblzma/common/Makefile.am index ca38afc2..2f5532e4 100644 --- a/src/liblzma/common/Makefile.am +++ b/src/liblzma/common/Makefile.am @@ -75,6 +75,5 @@ libcommon_la_SOURCES += \ stream_decoder.c \ stream_decoder.h \ stream_flags_decoder.c \ - stream_flags_decoder.h \ vli_decoder.c endif diff --git a/src/liblzma/common/stream_decoder.c b/src/liblzma/common/stream_decoder.c index 7d1df9cc..884c4e9d 100644 --- a/src/liblzma/common/stream_decoder.c +++ b/src/liblzma/common/stream_decoder.c @@ -18,9 +18,6 @@ /////////////////////////////////////////////////////////////////////////////// #include "stream_decoder.h" -#include "stream_flags_common.h" -#include "check.h" -#include "stream_flags_decoder.h" #include "block_decoder.h" diff --git a/src/liblzma/common/stream_encoder.c b/src/liblzma/common/stream_encoder.c index 4cd08d5b..b21ee652 100644 --- a/src/liblzma/common/stream_encoder.c +++ b/src/liblzma/common/stream_encoder.c @@ -18,7 +18,6 @@ /////////////////////////////////////////////////////////////////////////////// #include "stream_encoder.h" -#include "stream_flags_common.h" #include "block_encoder.h" #include "index_encoder.h" diff --git a/src/liblzma/common/stream_flags_decoder.h b/src/liblzma/common/stream_flags_decoder.h deleted file mode 100644 index e4b8e3c5..00000000 --- a/src/liblzma/common/stream_flags_decoder.h +++ /dev/null @@ -1,31 +0,0 @@ -/////////////////////////////////////////////////////////////////////////////// -// -/// \file stream_flags_decoder.h -/// \brief Decodes Stream Header and Footer from .lzma files -// -// Copyright (C) 2007 Lasse Collin -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -/////////////////////////////////////////////////////////////////////////////// - -#ifndef LZMA_STREAM_FLAGS_DECODER_H -#define LZMA_STREAM_FLAGS_DECODER_H - -#include "common.h" - -extern lzma_ret lzma_stream_header_decoder_init(lzma_next_coder *next, - lzma_allocator *allocator, lzma_stream_flags *options); - -extern lzma_ret lzma_stream_tail_decoder_init(lzma_next_coder *next, - lzma_allocator *allocator, lzma_stream_flags *options); - -#endif