From 834788bd80e85adeb26df5bdbc0c36fc24acc620 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Wed, 6 Mar 2013 21:42:41 +0000 Subject: as done in ospf{,6}d/relayd, sync yyerror in various other daemons with that from bgpd, so that it logs to syslog when daemonized. --- usr.sbin/snmpd/snmpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/snmpd/snmpd.h') diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index d144b7cc2a7..c425e9b6af6 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.41 2013/03/04 14:00:31 bluhm Exp $ */ +/* $OpenBSD: snmpd.h,v 1.42 2013/03/06 21:42:40 sthen Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter @@ -445,6 +445,7 @@ void log_info(const char *, ...); void log_debug(const char *, ...); __dead void fatal(const char *); __dead void fatalx(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); -- cgit v1.2.3