diff options
author | Tomek Mrugalski <tomek@isc.org> | 2011-05-11 14:01:25 +0000 |
---|---|---|
committer | Tomek Mrugalski <tomek@isc.org> | 2011-05-11 14:01:25 +0000 |
commit | a34feb7d81efdd9a140084d070ce4633572467fb (patch) | |
tree | 791736265825e3b9a7927341a7640d3dd51015e8 /server/failover.c | |
parent | fb30f3fc8bb324c6be1a418c341d062d7e1603df (diff) | |
download | isc-dhcp-a34feb7d81efdd9a140084d070ce4633572467fb.tar.gz |
- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
[ISC-Bugs #13151]
Diffstat (limited to 'server/failover.c')
-rw-r--r-- | server/failover.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/failover.c b/server/failover.c index 1dbcc1d1..97e7d734 100644 --- a/server/failover.c +++ b/server/failover.c @@ -3,7 +3,7 @@ Failover protocol support code... */ /* - * Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2004-2011 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1999-2003 by Internet Software Consortium * * Permission to use, copy, modify, and distribute this software for any @@ -51,7 +51,7 @@ static void dhcp_failover_pool_balance(dhcp_failover_state_t *state); static void dhcp_failover_pool_reqbalance(dhcp_failover_state_t *state); static int dhcp_failover_pool_dobalance(dhcp_failover_state_t *state, isc_boolean_t *sendreq); -static INLINE int secondary_not_hoarding(dhcp_failover_state_t *state, +static inline int secondary_not_hoarding(dhcp_failover_state_t *state, struct pool *p); @@ -5374,7 +5374,7 @@ isc_result_t dhcp_failover_process_bind_update (dhcp_failover_state_t *state, * Returns: Truth is the secondary is allowed to get more leases based upon * MAC address affinity. False otherwise. */ -static INLINE int +static inline int secondary_not_hoarding(dhcp_failover_state_t *state, struct pool *p) { int total; int hold; |