summaryrefslogtreecommitdiff
path: root/db3
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-06-04 13:55:58 +0000
committerjbj <devnull@localhost>2001-06-04 13:55:58 +0000
commit750d54d8a33e67d8f89ed95a785c0f025c833aa8 (patch)
treeb884b1b98864221da1ccc14c5551579cb885be73 /db3
parent9e1929c9bb268faad7c8f140161504dbaf7f00f0 (diff)
downloadrpm-750d54d8a33e67d8f89ed95a785c0f025c833aa8.tar.gz
rpm-750d54d8a33e67d8f89ed95a785c0f025c833aa8.tar.bz2
rpm-750d54d8a33e67d8f89ed95a785c0f025c833aa8.zip
lclint fiddles.
CVS patchset: 4833 CVS date: 2001/06/04 13:55:58
Diffstat (limited to 'db3')
-rw-r--r--db3/.cvsignore1
-rwxr-xr-xdb3/configure10
2 files changed, 8 insertions, 3 deletions
diff --git a/db3/.cvsignore b/db3/.cvsignore
index 696093e50..bb2445a79 100644
--- a/db3/.cvsignore
+++ b/db3/.cvsignore
@@ -5,6 +5,7 @@ Makefile.in
.libs
*.la
*.lo
+db3lobjs
config.cache
config.log
db_config.h
diff --git a/db3/configure b/db3/configure
index f1f1ac2df..b9390c214 100755
--- a/db3/configure
+++ b/db3/configure
@@ -26,10 +26,14 @@ db3_install: all install_setip \\' > Makefile
mv db.h db.h.orig
cat db.h.orig | sed \
- -e '/^struct __db;/i\
-/*@-incondefs@*/' \
+ -e '/^typedef u_int32_t db_pgno_t;/i\
+/*@-incondefs -fielduse -enummemuse -typeuse @*/' \
-e '/^struct __key_range;/a\
-/*@=incondefs@*/' > db.h
+/*@=incondefs@*/' \
+ -e '/^#define db_create/i\
+/*@-declundef -noparams -fcnuse@*/' \
+ -e '/^#define db_xa_switch/a\
+/*@=declundef =noparams =fcnuse =fielduse =enummemuse =typeuse @*/' > db.h
# Generate manifest for rpmdb.
make -s listobjs > db3lobjs