need to special case krb5_db_set_lockmode as well
authorJohn Kohl <jtkohl@mit.edu>
Tue, 20 Nov 1990 17:56:09 +0000 (17:56 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 20 Nov 1990 17:56:09 +0000 (17:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1493 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/kdb.h
src/include/krb5/kdb_dbm.h

index 589c3a5054ad12e6e9aef33d02ca8ca5b695c0ca..b8b77b085f24cd59fc0283363c6e8e15fdcf0689 100644 (file)
@@ -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 <krb5/widen.h>
 
 /* 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 * ));
index 3814d04d9f246cd13eb944eccbb2c721cdac0f37..53c676944923a8191154240fbd7e6a33295ee14d 100644 (file)
@@ -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__ */