diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-05-27 15:43:14 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-05-27 15:43:14 +0000 |
commit | d38c03a24453b3c4cd5c99e79987a8a18d063803 (patch) | |
tree | 65a5216b943c8d148e9d643bc07e1ff1c7255d3c /usr.sbin/bgpd/session.h | |
parent | 61786072d2835793eb9d02eca9d60f9ffb3c5441 (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/session.h')
-rw-r--r-- | usr.sbin/bgpd/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index 6f9673bfbf0..38fc2f5584e 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.82 2006/05/23 12:11:38 henning Exp $ */ +/* $OpenBSD: session.h,v 1.83 2006/05/27 15:43:13 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -220,7 +220,7 @@ int control_init(int, char *); int control_listen(int); void control_shutdown(int); int control_dispatch_msg(struct pollfd *, u_int *); -int control_accept(int, int); +unsigned int control_accept(int, int); /* pfkey.c */ int pfkey_establish(struct peer *); |