libext2fs: don't leak tdb_null out of the shared library namespace

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o 2011-11-05 14:51:51 -04:00
parent 6b967cd6f1
commit d1b75fd60c
3 changed files with 2 additions and 5 deletions

View File

@ -515,7 +515,6 @@ libext2fs.so.2 e2fslibs #MINVER#
qcow2_write_raw_image@Base 1.41.99
set_undo_io_backing_manager@Base 1.41.0
set_undo_io_backup_file@Base 1.41.0
tdb_null@Base 1.40
test_io_backing_manager@Base 1.37
test_io_cb_read_blk64@Base 1.41.0
test_io_cb_read_blk@Base 1.37

View File

@ -108,6 +108,8 @@ typedef int bool;
#include "tdb.h"
static TDB_DATA tdb_null;
#ifndef u32
#define u32 unsigned
#endif
@ -3058,8 +3060,6 @@ int tdb_printfreelist(struct tdb_context *tdb)
/* file: tdb.c */
TDB_DATA tdb_null;
/*
non-blocking increment of the tdb sequence number if the tdb has been opened using
the TDB_SEQNUM flag

View File

@ -206,8 +206,6 @@ void tdb_dump_all(struct tdb_context *tdb);
int tdb_printfreelist(struct tdb_context *tdb);
int tdb_validate_freelist(struct tdb_context *tdb, int *pnum_entries);
extern TDB_DATA tdb_null;
#ifdef __cplusplus
}
#endif