summaryrefslogtreecommitdiff
path: root/tools/dumpdb.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-03-04 16:53:24 +0000
committerewt <devnull@localhost>1998-03-04 16:53:24 +0000
commit0f2c5851dac43dce7f8174de5849dd7f542ce2b6 (patch)
treea46e52cb2004367293d76fe12ba7223409b4b0be /tools/dumpdb.c
parent4786aaf0660172b5778e4cc6197f0be6cb7b8118 (diff)
downloadrpm-0f2c5851dac43dce7f8174de5849dd7f542ce2b6.tar.gz
rpm-0f2c5851dac43dce7f8174de5849dd7f542ce2b6.tar.bz2
rpm-0f2c5851dac43dce7f8174de5849dd7f542ce2b6.zip
1) all main()s should return ints
2) use new dependency scheme CVS patchset: 2025 CVS date: 1998/03/04 16:53:24
Diffstat (limited to 'tools/dumpdb.c')
-rw-r--r--tools/dumpdb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/dumpdb.c b/tools/dumpdb.c
index 3e9f21a25..70db0f5f4 100644
--- a/tools/dumpdb.c
+++ b/tools/dumpdb.c
@@ -9,7 +9,7 @@
#include "rpmlib.h"
#include "intl.h"
-void main(int argc, char ** argv)
+int main(int argc, char ** argv)
{
Header h;
int offset;
@@ -53,6 +53,8 @@ void main(int argc, char ** argv)
}
rpmdbClose(db);
+
+ return 0;
}