/* * This file is Copyright (c) 2010 by the GPSD project * BSD terms apply: see the file COPYING in the distribution root for details. */ #include #include #include #include "gpsd.h" # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) void gpsd_report(int errlevel UNUSED, const char *fmt, ...) __attribute__ ((weak)); #endif 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); }