summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpd.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-16 19:07:52 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-16 19:07:52 +0000
commitea37fd90cfcaf04e682b0b1ac82c9cdc481ee9c8 (patch)
treefc235a385ba0bc7e1f5aacfe056fc580a801019d /usr.sbin/snmpd/snmpd.h
parentbd7d610a442003b4ea0595f768150b95dad9b686 (diff)
Convert the logic in yyerror(). Instead of creating a temporary
format string, create a temporary message. OK doug@
Diffstat (limited to 'usr.sbin/snmpd/snmpd.h')
-rw-r--r--usr.sbin/snmpd/snmpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h
index 173d3d6ae66..77a41c0ff10 100644
--- a/usr.sbin/snmpd/snmpd.h
+++ b/usr.sbin/snmpd/snmpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpd.h,v 1.56 2014/08/18 13:13:42 reyk Exp $ */
+/* $OpenBSD: snmpd.h,v 1.57 2014/11/16 19:07:51 bluhm Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@ -581,6 +581,7 @@ void print_debug(const char *, ...);
void print_verbose(const char *, ...);
__dead void fatal(const char *);
__dead void fatalx(const char *);
+void logit(int, const char *, ...);
void vlog(int, const char *, va_list);
const char *log_in6addr(const struct in6_addr *);
const char *print_host(struct sockaddr_storage *, char *, size_t);