summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-05-27 15:43:14 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-05-27 15:43:14 +0000
commitd38c03a24453b3c4cd5c99e79987a8a18d063803 (patch)
tree65a5216b943c8d148e9d643bc07e1ff1c7255d3c /usr.sbin/bgpd/control.c
parent61786072d2835793eb9d02eca9d60f9ffb3c5441 (diff)
Cleanup with lint. Make the poll fd indexes unsigned and because of that
control_accept should also return a unsigned int. Remove old prototype.
Diffstat (limited to 'usr.sbin/bgpd/control.c')
-rw-r--r--usr.sbin/bgpd/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/control.c b/usr.sbin/bgpd/control.c
index 27866a16c2c..01dd6ba8085 100644
--- a/usr.sbin/bgpd/control.c
+++ b/usr.sbin/bgpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.50 2006/05/23 12:11:38 henning Exp $ */
+/* $OpenBSD: control.c,v 1.51 2006/05/27 15:43:13 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -111,7 +111,7 @@ control_cleanup(const char *path)
unlink(path);
}
-int
+unsigned int
control_accept(int listenfd, int restricted)
{
int connfd;