]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Remove KRB5_DB_LOCKMODE_DONTBLOCK from kdb.h
authorGreg Hudson <ghudson@mit.edu>
Wed, 17 Oct 2012 00:26:04 +0000 (20:26 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 17 Oct 2012 00:26:04 +0000 (20:26 -0400)
It's wasn't used and wasn't implemented.

src/include/kdb.h

index fd3a6e9b0fd2eeb59cc7eaf93489175e21c64621..5e9213fa4b4dea3759f793a2600328894eda262f 100644 (file)
@@ -348,7 +348,6 @@ extern char *krb5_mkey_pwd_prompt2;
 
 #define KRB5_DB_LOCKMODE_SHARED       0x0001
 #define KRB5_DB_LOCKMODE_EXCLUSIVE    0x0002
-#define KRB5_DB_LOCKMODE_DONTBLOCK    0x0004
 #define KRB5_DB_LOCKMODE_PERMANENT    0x0008
 
 /* libkdb.spec */
@@ -902,7 +901,6 @@ typedef struct _kdb_vftabl {
      * KRB5_DB_LOCKMODE_SHARED: Lock may coexist with other shared locks.
      * KRB5_DB_LOCKMODE_EXCLUSIVE: Lock may not coexist with other locks.
      * KRB5_DB_LOCKMODE_PERMANENT: Exclusive lock surviving process exit.
-     * (KRB5_DB_LOCKMODE_DONTBLOCK is unused and unimplemented.)
      *
      * Used by the "kadmin lock" command, incremental propagation, and
      * kdb5_util dump.  Incremental propagation support requires shared locks