source: trunk/util/xc_trace.c @ 990

Last change on this file since 990 was 990, checked in by moo, 21 months ago

split trace

  • Property svn:eol-style set to native
File size: 333 bytes
Line 
1#include "xc_trace.h"
2#include <stdio.h>
3#include <stdarg.h>
4
5int xc_vtrace(const char *fmt, va_list args) /* {{{ */
6{
7    return vfprintf(stderr, fmt, args);
8}
9/* }}} */
10int xc_trace(const char *fmt, ...) /* {{{ */
11{
12    va_list args;
13    int ret;
14
15    va_start(args, fmt);
16    ret = xc_vtrace(fmt, args);
17    va_end(args);
18    return ret;
19}
20/* }}} */
21
Note: See TracBrowser for help on using the repository browser.