File: report.c

package info (click to toggle)
gpsd 2.33-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,900 kB
  • ctags: 1,861
  • sloc: ansic: 14,508; sh: 9,158; xml: 2,657; python: 1,446; makefile: 334; cpp: 120; perl: 22
file content (14 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdarg.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);
}