Skip to content

Commit

Permalink
lib/kadm5: do not prototype imported _krb5_put_int
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jaltman authored and nicowilliams committed Apr 11, 2016
1 parent e1a244f commit 1007d10
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/kadm5/get_s.c
Expand Up @@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/

#include <krb5_locl.h>
#include "kadm5_locl.h"
#include <assert.h>

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1007d10

Please sign in to comment.