diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-06 21:42:41 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-06 21:42:41 +0000 |
commit | 834788bd80e85adeb26df5bdbc0c36fc24acc620 (patch) | |
tree | 86ac9ae7bb432e076a63797b30b5101c77fd7cf1 /usr.sbin/snmpd/snmpd.h | |
parent | 5dd3d437333a69206e71ab5766e778b9ac597cad (diff) |
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.
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 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 <reyk@openbsd.org> @@ -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); |