File: report.c

package info (click to toggle)
gpsd 2.37-7
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,564 kB
  • ctags: 2,813
  • sloc: ansic: 20,476; sh: 9,233; xml: 2,910; python: 1,764; php: 472; makefile: 440; cpp: 121
file content (17 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* $Id: report.c 3666 2006-10-26 23:11:51Z ckuethe $ */
#include <sys/types.h>
#include <stdio.h>
#include <stdarg.h>
#include "gpsd_config.h"
#include "gpsd.h"

void gpsd_report(int errlevel UNUSED, const char *fmt, ... )
/* stub logger for clients that don't supply one */
{
    va_list ap;

    va_start(ap, fmt);
    (void)vfprintf(stderr, fmt, ap);
    va_end(ap);
}