lib/kadm5: do not prototype imported _krb5_put_int

The function _krb5_put_int() is a private function exported from
lib/krb5.  Its declaration should come from krb5-private.h.  A local
declaration will not result in the proper import qualifiers on
Windows.

See also: e1a244f Make it possible to include krb5_locl.h in kadm5

Change-Id: I53e7aeea9f2f34cab105f2e331f3c6522847ccfe
This commit is contained in:
Jeffrey Altman
2016-04-10 19:00:56 -05:00
committed by Nicolas Williams
parent e1a244f0aa
commit 1007d104fa

View File

@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/
#include <krb5_locl.h>
#include "kadm5_locl.h"
#include <assert.h>
@@ -62,9 +63,6 @@ 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,