diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-11-16 19:07:52 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-11-16 19:07:52 +0000 |
commit | ea37fd90cfcaf04e682b0b1ac82c9cdc481ee9c8 (patch) | |
tree | fc235a385ba0bc7e1f5aacfe056fc580a801019d /usr.sbin/snmpd/snmpd.h | |
parent | bd7d610a442003b4ea0595f768150b95dad9b686 (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.h | 3 |
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); |