From 00d63fea738cba31fc26aec51d572660d96f614a Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 20 Nov 1990 17:56:09 +0000 Subject: [PATCH] need to special case krb5_db_set_lockmode as well git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1493 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/kdb.h | 6 ++++-- src/include/krb5/kdb_dbm.h | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index 589c3a505..b8b77b085 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -107,18 +107,20 @@ krb5_error_code krb5_db_unlock krb5_error_code krb5_db_set_nonblocking PROTOTYPE((krb5_boolean, krb5_boolean * )); +krb5_boolean krb5_db_set_lockmode + PROTOTYPE((krb5_boolean )); #else krb5_error_code krb5_db_set_nonblocking PROTOTYPE((int, /* krb5_boolean */ krb5_boolean * )); +krb5_boolean krb5_db_set_lockmode + PROTOTYPE((int /* krb5_boolean */ )); #endif /* NARROW_PROTOTYPES */ #include /* Only put things which don't have pointers to the narrow types in this section */ -krb5_boolean krb5_db_set_lockmode - PROTOTYPE((krb5_boolean )); krb5_error_code krb5_db_fetch_mkey PROTOTYPE((krb5_principal, krb5_encrypt_block *, krb5_boolean, krb5_boolean, krb5_keyblock * )); diff --git a/src/include/krb5/kdb_dbm.h b/src/include/krb5/kdb_dbm.h index 3814d04d9..53c676944 100644 --- a/src/include/krb5/kdb_dbm.h +++ b/src/include/krb5/kdb_dbm.h @@ -67,9 +67,13 @@ krb5_error_code krb5_dbm_db_iterate #ifdef NARROW_PROTOTYPES krb5_error_code krb5_dbm_db_set_nonblocking PROTOTYPE((krb5_boolean, krb5_boolean * )); +krb5_boolean krb5_dbm_db_set_lockmode + PROTOTYPE((krb5_boolean )); #else krb5_error_code krb5_dbm_db_set_nonblocking PROTOTYPE((int, /* krb5_boolean */ krb5_boolean * )); +krb5_boolean krb5_dbm_db_set_lockmode + PROTOTYPE((int /* krb5_boolean */ )); #endif /* NARROW_PROTOTYPES */ #endif /* KRB5_KDB5_DBM__ */ -- 2.26.2