aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
blob: d87fd726ee4dc4ed31e7396fa581abdcc15766ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdarg.h>
#include <stdio.h>

#include "runes.h"

void runes_warn(const char *fmt, ...)
{
    va_list ap;
    va_start(ap, fmt);
    /* XXX make this do something else on windows */
    vfprintf(stderr, fmt, ap);
    va_end(ap);
}