Skip to content

Commit

Permalink
Remove KRB5_DB_LOCKMODE_DONTBLOCK from kdb.h
Browse files Browse the repository at this point in the history
It's wasn't used and wasn't implemented.
  • Loading branch information
greghudson committed Oct 17, 2012
1 parent e03a590 commit 5af1e88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/include/kdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5af1e88

Please sign in to comment.