Fix calling conventions for Windows

This commit is contained in:
Asanka Herath
2010-06-28 12:17:05 -04:00
parent 12638c01a9
commit 5dcc605f6b
141 changed files with 573 additions and 538 deletions

View File

@@ -165,7 +165,7 @@ struct _heimdal_syslog_data{
int priority;
};
static void
static void KRB5_CALLCONV
log_syslog(const char *timestr,
const char *msg,
void *data)
@@ -175,7 +175,7 @@ log_syslog(const char *timestr,
syslog(s->priority, "%s", msg);
}
static void
static void KRB5_CALLCONV
close_syslog(void *data)
{
free(data);
@@ -215,7 +215,7 @@ struct file_data{
int keep_open;
};
static void
static void KRB5_CALLCONV
log_file(const char *timestr,
const char *msg,
void *data)
@@ -241,7 +241,7 @@ log_file(const char *timestr,
}
}
static void
static void KRB5_CALLCONV
close_file(void *data)
{
struct file_data *f = data;