From: John Kohl Date: Fri, 20 Apr 1990 11:37:13 +0000 (+0000) Subject: put DBM stuff into include file X-Git-Tag: krb5-1.0-alpha2~858 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3c105455930e3ccaa10e1691d6a8479e41d41ee;p=krb5.git put DBM stuff into include file git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@537 dc483132-0cff-0310-8789-dd5450dbe970 --- 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)