diff options
author | jbj <devnull@localhost> | 2003-01-23 20:23:24 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-01-23 20:23:24 +0000 |
commit | 7e716b70fb68cbef5bd35e154a734269067f1e37 (patch) | |
tree | 3e9d8030e9e884673e9f561618b4711ff95cd912 /tools | |
parent | ff140452c3620c5216778aa72505ada37f3407be (diff) | |
download | rpm-7e716b70fb68cbef5bd35e154a734269067f1e37.tar.gz rpm-7e716b70fb68cbef5bd35e154a734269067f1e37.tar.bz2 rpm-7e716b70fb68cbef5bd35e154a734269067f1e37.zip |
splint fiddles.
CVS patchset: 6023
CVS date: 2003/01/23 20:23:24
Diffstat (limited to 'tools')
-rw-r--r-- | tools/convertdb1.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/convertdb1.c b/tools/convertdb1.c index 05bd99f7c..e73ab1e06 100644 --- a/tools/convertdb1.c +++ b/tools/convertdb1.c @@ -1,5 +1,10 @@ +#if defined(HAVE_CONFIG_H) +#include "system.h" +#else #include <sys/types.h> #include <fcntl.h> +#include <string.h> +#endif #include <rpmlib.h> #include <rpmdb.h> @@ -213,9 +218,7 @@ exit: static rpmdb db; int -main(argc, argv) -int argc; -char **argv; +main(int argc, char ** argv) { FD_t fd; int offset; |