summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/lde.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-09-02 17:10:35 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-09-02 17:10:35 +0000
commit6a8ea19270d5aa375797b15216a2786f8c3ed165 (patch)
treedc5872d1db141137698d906f49ac39a949e00127 /usr.sbin/ldpd/lde.h
parentce71dd9c9d6cbe7282c3df7beb5ee6092f63a640 (diff)
lde() and ldpe() should return void.
Remove these leftovers from the pre-fork+exec era. Spotted by and ok rzalamena@ ok claudio@
Diffstat (limited to 'usr.sbin/ldpd/lde.h')
-rw-r--r--usr.sbin/ldpd/lde.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/lde.h b/usr.sbin/ldpd/lde.h
index 77431b87a3f..20b3ea6881e 100644
--- a/usr.sbin/ldpd/lde.h
+++ b/usr.sbin/ldpd/lde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde.h,v 1.43 2016/07/01 23:36:38 renato Exp $ */
+/* $OpenBSD: lde.h,v 1.44 2016/09/02 17:10:34 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -124,7 +124,7 @@ extern struct nbr_tree lde_nbrs;
extern struct event gc_timer;
/* lde.c */
-pid_t lde(int, int);
+void lde(int, int);
int lde_imsg_compose_ldpe(int, uint32_t, pid_t, void *, uint16_t);
uint32_t lde_assign_label(void);
void lde_send_change_klabel(struct fec_node *, struct fec_nh *);