mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 06:54:37 +00:00
Fix declaratons of conditionally defined functions
Functions relating to zip archives are declared but are never compiled when --enable-zip-archive=no, the default. This makes sure that they are not declared when they won't be defined due to conditional compilation. Signed-off-by: Ben Woodard <woodard@redhat.com>
This commit is contained in:
parent
b918ec8f77
commit
cd2af9e5f5
@ -52,7 +52,8 @@ create_native_xml_read_context(std::istream* in, environment* env);
|
||||
const string&
|
||||
read_context_get_path(const read_context&);
|
||||
|
||||
abigail::corpus_sptr
|
||||
#ifdef WITH_ZIP_ARCHIVE
|
||||
corpus_sptr
|
||||
read_corpus_from_file(const string& path);
|
||||
|
||||
int
|
||||
@ -61,6 +62,7 @@ read_corpus_from_file(corpus_sptr& corp,
|
||||
|
||||
int
|
||||
read_corpus_from_file(corpus_sptr& corp);
|
||||
#endif //WITH_ZIP_ARCHIVE
|
||||
|
||||
corpus_sptr
|
||||
read_corpus_from_native_xml(std::istream* in,
|
||||
|
@ -48,7 +48,6 @@ using abigail::corpus;
|
||||
using abigail::corpus_sptr;
|
||||
using abigail::xml_reader::read_translation_unit_from_file;
|
||||
using abigail::xml_reader::read_translation_unit_from_istream;
|
||||
using abigail::xml_reader::read_corpus_from_file;
|
||||
using abigail::xml_reader::read_corpus_from_native_xml;
|
||||
using abigail::xml_reader::read_corpus_from_native_xml_file;
|
||||
using abigail::xml_reader::read_corpus_group_from_input;
|
||||
@ -58,6 +57,9 @@ using abigail::xml_writer::write_context_sptr;
|
||||
using abigail::xml_writer::create_write_context;
|
||||
using abigail::xml_writer::write_corpus;
|
||||
using abigail::xml_writer::write_corpus_to_archive;
|
||||
#ifdef WITH_ZIP_ARCHIVE
|
||||
using abigail::xml_reader::read_corpus_from_file;
|
||||
#endif
|
||||
|
||||
struct options
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user