From: John Kohl Date: Tue, 20 Nov 1990 17:56:09 +0000 (+0000) Subject: need to special case krb5_db_set_lockmode as well X-Git-Tag: krb5-1.0-alpha3~100 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00d63fea738cba31fc26aec51d572660d96f614a;p=krb5.git 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 --- 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__ */