From: Sam Hartman Date: Fri, 2 Aug 1996 18:10:07 +0000 (+0000) Subject: Remove references to unused non-portable symbols X-Git-Tag: krb5-1.0-beta7~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c95647cbfc9da611a75d0ec142f7494d20a3cca;p=krb5.git Remove references to unused non-portable symbols git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8898 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/kdb_dbm.c b/src/lib/kdb/kdb_dbm.c index 3931389f4..b9e95e41b 100644 --- a/src/lib/kdb/kdb_dbm.c +++ b/src/lib/kdb/kdb_dbm.c @@ -141,16 +141,8 @@ static kdb5_dispatch_table kdb5_default_dispatch = { #else /* dbm_clearerr */ dbm_clearerr, /* Clear Database Error */ #endif /* dbm_clearerr */ -#ifdef dbm_dirfno (int (*)()) NULL, /* Get DB index FD num */ -#else /* dbm_dirfno */ - dbm_dirfno, /* Get DB index FD num */ -#endif /* dbm_dirfno */ -#ifdef dbm_pagfno (int (*)()) NULL, /* Get DB data FD num */ -#else /* dbm_pagfno */ - dbm_pagfno, /* Get DB data FD num */ -#endif /* dbm_pagfno */ }; #endif /* BERK_DB_DBM */ @@ -189,18 +181,6 @@ static kdb5_dispatch_table kdb5_default_dispatch = { db_dispatch->kdb5_dbm_clearerr)) \ (db)) : \ dbm_clearerr(db)) -#define KDBM_DIRFNO(dbc, db) ((((krb5_db_context *)dbc)-> \ - db_dispatch->kdb5_dbm_dirfno) ? \ - ((*(((krb5_db_context *)dbc)-> \ - db_dispatch->kdb5_dbm_dirfno)) \ - (db)) : \ - dbm_dirfno(db)) -#define KDBM_PAGFNO(dbc, db) ((((krb5_db_context *)dbc)-> \ - db_dispatch->kdb5_dbm_pagfno) ? \ - ((*(((krb5_db_context *)dbc)-> \ - db_dispatch->kdb5_dbm_pagfno)) \ - (db)) : \ - dbm_pagfno(db)) #define KDBM_INDEX_EXT(dbc) (((krb5_db_context *)dbc)-> \ db_dispatch->kdb5_db_index_ext) #define KDBM_DATA_EXT(dbc) (((krb5_db_context *)dbc)-> \