Revert "lib/kadm5: do not prototype imported _krb5_put_int"

krb5_locl.h cannot be included from within lib/kadm5 in the
current UNIX builds.  Reverting this change which is necessary
to properly build on Windows until an alternate solution is
agreed upon.

This reverts commit ffc525aad1.
This commit is contained in:
Jeffrey Altman
2016-04-11 14:40:57 -05:00
parent 278cd63306
commit f1d73a8e46

View File

@@ -31,7 +31,6 @@
* SUCH DAMAGE.
*/
#include <krb5_locl.h>
#include "kadm5_locl.h"
#include <assert.h>
@@ -63,6 +62,9 @@ add_tl_data(kadm5_principal_ent_t ent, int16_t type,
return 0;
}
KRB5_LIB_FUNCTION krb5_ssize_t KRB5_LIB_CALL
_krb5_put_int(void *buffer, unsigned long value, size_t size); /* XXX */
static
krb5_error_code
copy_keyset_to_kadm5(kadm5_server_context *context, krb5_kvno kvno,