From 4569274a8225ea3f3fbd7b1266680d4495cd4ea2 Mon Sep 17 00:00:00 2001 From: Sebastian Benoit Date: Fri, 2 Sep 2016 16:22:32 +0000 Subject: work on making log.c similar in all daemons: move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@ --- usr.sbin/dvmrpd/dvmrpd.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usr.sbin/dvmrpd/dvmrpd.h') diff --git a/usr.sbin/dvmrpd/dvmrpd.h b/usr.sbin/dvmrpd/dvmrpd.h index 3bfc4f39be9..a8cf93ff399 100644 --- a/usr.sbin/dvmrpd/dvmrpd.h +++ b/usr.sbin/dvmrpd/dvmrpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpd.h,v 1.21 2015/09/27 17:29:45 stsp Exp $ */ +/* $OpenBSD: dvmrpd.h,v 1.22 2016/09/02 16:20:34 benno Exp $ */ /* * Copyright (c) 2004, 2005, 2006 Esben Norby @@ -52,6 +52,12 @@ #define MAXVIFS 32 /* XXX */ +static const char * const log_procnames[] = { + "parent", + "dvmrpe", + "rde" +}; + struct imsgev { struct imsgbuf ibuf; void (*handler)(int, short, void *); -- cgit v1.2.3