summaryrefslogtreecommitdiff
path: root/hw/xquartz/pbproxy/app-main.m
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/pbproxy/app-main.m')
-rw-r--r--hw/xquartz/pbproxy/app-main.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/xquartz/pbproxy/app-main.m b/hw/xquartz/pbproxy/app-main.m
index a8c3a6055..772c458a1 100644
--- a/hw/xquartz/pbproxy/app-main.m
+++ b/hw/xquartz/pbproxy/app-main.m
@@ -63,6 +63,17 @@ ErrorF(const char * f, ...)
va_end(args);
}
+/* TODO: Have this actually log to ASL */
+void xq_asl_log (int level, const char *subsystem, const char *file, const char *function, int line, const char *fmt, ...) {
+#ifdef DEBUG
+ va_list args;
+
+ va_start(args, fmt);
+ vfprintf(stderr, fmt, args);
+ va_end(args);
+#endif
+}
+
int main (int argc, const char *argv[]) {
const char *s;
int i;