diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-01-23 18:15:24 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-02-05 00:21:29 -0500 |
commit | 6506c87aab5567ae855d1f75dc9b41e1a091f542 (patch) | |
tree | c89530754e2b89f273c127a5e569dd002f86683d /src/po | |
parent | 75b2ec88c4d75e7215322d2f0019307310cc9701 (diff) | |
download | krb5-6506c87aab5567ae855d1f75dc9b41e1a091f542.tar.gz krb5-6506c87aab5567ae855d1f75dc9b41e1a091f542.tar.xz krb5-6506c87aab5567ae855d1f75dc9b41e1a091f542.zip |
Modernize iprop code
* Don't use "extern" for kdb_log.h prototypes.
* Avoid passing structures by value.
* Avoid the need to cast the result of the INDEX macro, and use char *
instead of unsigned long for pointer arithmetic.
* Reorganize kdb_log.c so static helpers are at the top and don't use
the "ulog_" prefix.
* Get rid of ulog_finish_update_slave since it's more concise to
open-code it in ulog_replay.
* Get rid of ulog_delete_update. In krb5_db_delete_principal, just
call ulog_add_update with kdb_deleted set in upd.
* Modernize coding style of kproplog.c. Use k5memdup0 instead of
snprintf in print_str to convert a byte range to a C string.
Remove an unnecesary textdomain call; libkrb5 takes care of calling
bindtextdomain in the library initializer.
* Modernize coding style of kpropd.c and kprop.c.
No functional changes.
Diffstat (limited to 'src/po')
0 files changed, 0 insertions, 0 deletions