summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/control.h
diff options
context:
space:
mode:
authorremi <remi@cvs.openbsd.org>2020-09-16 20:50:11 +0000
committerremi <remi@cvs.openbsd.org>2020-09-16 20:50:11 +0000
commit95ef9171ed1985e1f7c07cccfa01713e48d4935a (patch)
treeed20737ed271884996391f58ccde716fad0e8625 /usr.sbin/ospfd/control.h
parent7d1025a8cc171670409f3fdb74d3a91eedfa6e9c (diff)
Stop removing the control socket on exit and tighten the unveil even
further. This is in line with what other networking daemons do. ok mestre@
Diffstat (limited to 'usr.sbin/ospfd/control.h')
-rw-r--r--usr.sbin/ospfd/control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/control.h b/usr.sbin/ospfd/control.h
index ce2a6d02c1d..02df29924ee 100644
--- a/usr.sbin/ospfd/control.h
+++ b/usr.sbin/ospfd/control.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.h,v 1.7 2018/08/29 08:43:16 remi Exp $ */
+/* $OpenBSD: control.h,v 1.8 2020/09/16 20:50:10 remi Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -40,6 +40,6 @@ int control_listen(void);
void control_accept(int, short, void *);
void control_dispatch_imsg(int, short, void *);
int control_imsg_relay(struct imsg *);
-void control_cleanup(char *);
+void control_cleanup(void);
#endif /* _CONTROL_H_ */