From f3c105455930e3ccaa10e1691d6a8479e41d41ee Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 20 Apr 1990 11:37:13 +0000 Subject: [PATCH] put DBM stuff into include file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@537 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/kdb_dbm.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/lib/kdb/kdb_dbm.c b/src/lib/kdb/kdb_dbm.c index c8fe446cf..0e7fc3664 100644 --- a/src/lib/kdb/kdb_dbm.c +++ b/src/lib/kdb/kdb_dbm.c @@ -15,11 +15,7 @@ static char rcsid_krb_dbm_c[] = #include -#ifndef ODBM -#include -#else /*ODBM*/ -#include -#endif /*ODBM*/ +#include #include @@ -149,18 +145,6 @@ static void free_decode_princ_dbmkey PROTOTYPE((krb5_principal )); * Instead, all routines call "dbm_next" instead. */ -#ifndef ODBM -#define dbm_next(db,key) dbm_nextkey(db) -#else /* OLD DBM */ -typedef char DBM; - -#define dbm_open(file, flags, mode) ((dbminit(file) == 0)?"":((char *)0)) -#define dbm_fetch(db, key) fetch(key) -#define dbm_store(db, key, content, flag) store(key, content) -#define dbm_firstkey(db) firstkey() -#define dbm_next(db,key) nextkey(key) -#define dbm_close(db) dbmclose() -#endif /* OLD DBM */ #define free_dbsuffix(name) free(name) -- 2.26.2