fix calling conventions
commitafc9ebe08b84b9b8ea9077b678d3cd5e99c3d1f7
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 25 May 2020 18:02:52 +0000 (25 14:02 -0400)
committerNicolas Williams <nico@twosigma.com>
Tue, 26 May 2020 16:48:45 +0000 (26 11:48 -0500)
tree88012640d6e9fe4ce2e294a49d35f5f1886ad8c2
parente3dbc89f8fb6dd0a3a07caee7f752dc2bec3b6d9
fix calling conventions

When a function is assigned to a function pointer that is declared
with a particular calling convention, then the assigned function
must be declared with that calling convention as well.  Otherwise,
kaboom!!!

The following functions are fixed by this change:

kuser/kx509.c
  validate1()
  add1_2chain()

lib/base/log.c
  log_syslog()
  close_syslog()
  log_file()
  close_file()

lib/gssapi/mech/context.c
  gss_set_log_function()

lib/krb5/kx509.c
  certs_export_func()

Change-Id: Ib68abf739e3385e98136fa4e4f5a0240e9fce033
kuser/kx509.c
lib/base/log.c
lib/gssapi/mech/context.c
lib/krb5/kx509.c