diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2009-06-05 19:42:34 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2009-06-05 19:42:34 +0000 |
commit | d8e523e6190a7a068ba492d4f689bc9068abb422 (patch) | |
tree | fa81e7fc419e03b0b25684cfb37fc9cf05854970 | |
parent | a82fa993d1a14707b41f83475c5ad79f213679fc (diff) |
Add an unused data field, to allow smtpd and ypldap to work, all lib
ready daemons have NULL diffs now for the imsg files. This field should
eventually die a honorable death as it was a design screwup.
-rw-r--r-- | usr.sbin/ospfd/imsg.h | 3 | ||||
-rw-r--r-- | usr.sbin/relayd/imsg.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/imsg.h b/usr.sbin/ospfd/imsg.h index d74a45c7260..d700b98c01c 100644 --- a/usr.sbin/ospfd/imsg.h +++ b/usr.sbin/ospfd/imsg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.h,v 1.2 2009/06/05 19:36:10 pyr Exp $ */ +/* $OpenBSD: imsg.h,v 1.3 2009/06/05 19:42:33 pyr Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -60,6 +60,7 @@ struct imsgbuf { void (*handler)(int, short, void *); int fd; pid_t pid; + void *data; short events; }; diff --git a/usr.sbin/relayd/imsg.h b/usr.sbin/relayd/imsg.h index 3c1a3037bd5..e39fcaf928e 100644 --- a/usr.sbin/relayd/imsg.h +++ b/usr.sbin/relayd/imsg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.h,v 1.6 2009/06/05 19:38:53 pyr Exp $ */ +/* $OpenBSD: imsg.h,v 1.7 2009/06/05 19:42:33 pyr Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -60,6 +60,7 @@ struct imsgbuf { void (*handler)(int, short, void *); int fd; pid_t pid; + void *data; short events; }; |