diff options
-rw-r--r-- | pkgtools/pkg_install/files/lib/pkgdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/lib/pkgdb.c b/pkgtools/pkg_install/files/lib/pkgdb.c index 7ea70a478ec..37975151339 100644 --- a/pkgtools/pkg_install/files/lib/pkgdb.c +++ b/pkgtools/pkg_install/files/lib/pkgdb.c @@ -1,4 +1,4 @@ -/* $NetBSD: pkgdb.c,v 1.15 2003/09/08 02:07:42 jlam Exp $ */ +/* $NetBSD: pkgdb.c,v 1.16 2003/09/08 02:09:04 jlam Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -8,7 +8,7 @@ #include <sys/cdefs.h> #endif #ifndef lint -__RCSID("$NetBSD: pkgdb.c,v 1.15 2003/09/08 02:07:42 jlam Exp $"); +__RCSID("$NetBSD: pkgdb.c,v 1.16 2003/09/08 02:09:04 jlam Exp $"); #endif /* @@ -257,7 +257,7 @@ pkgdb_remove_pkg(const char *pkg) #else /* !HAVE_DBOPEN */ -int pkgdb_open(int mode) { return -1; } +int pkgdb_open(int mode) { return 0; } void pkgdb_close(void) {} int pkgdb_store(const char *key, const char *val) { return 0; } char *pkgdb_retrieve(const char *key) { return NULL; } |