summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-02 13:59:41 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-02 13:59:41 +0000
commit4d3d45257d5d35869c294fcfae5afe796240d8f8 (patch)
tree3e5e783258ef767cfc84d28f09b0e11e243ddcdc /usr.sbin/relayd/relayd.h
parent533b5a4dc8a8bb1e1d4c8aab9d77e7933ba0ae22 (diff)
Convert the logic in yyerror(). Instead of creating a temporary
format string, create a temporary message. OK deraadt@
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r--usr.sbin/relayd/relayd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 42d728de06b..ac192e0cdae 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.194 2014/10/20 14:50:41 reyk Exp $ */
+/* $OpenBSD: relayd.h,v 1.195 2014/11/02 13:59:40 bluhm Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -1306,6 +1306,7 @@ void log_warn(const char *, ...) __attribute__((__format__ (printf, 1, 2)));
void log_warnx(const char *, ...) __attribute__((__format__ (printf, 1, 2)));
void log_info(const char *, ...) __attribute__((__format__ (printf, 1, 2)));
void log_debug(const char *, ...) __attribute__((__format__ (printf, 1, 2)));
+void logit(int, const char *, ...) __attribute__((__format__ (printf, 2, 3)));
void vlog(int, const char *, va_list) __attribute__((__format__ (printf, 2, 0)));
__dead void fatal(const char *);
__dead void fatalx(const char *);