]> git.kaiwu.me - haproxy.git/commit
[CLEANUP] peers.h: fix declarations
authorSimon Horman <horms@verge.net.au>
Wed, 8 Jun 2011 00:18:51 +0000 (09:18 +0900)
committerWilly Tarreau <w@1wt.eu>
Sat, 18 Jun 2011 18:27:19 +0000 (20:27 +0200)
commit96553775a0ba87eb19e30d4975b4f5935eee1a6d
tree298ec9f18aeb5b080b7fd701bdc03c568fecdd6d
parent70735c98f7b8b647d19b052095243417cde088fc
[CLEANUP] peers.h: fix declarations

* The declaration of peer_session_create() does
  not match its definition. As it is only
  used inside of peers.c make it static.

* Make the declaration of peers_register_table()
  match its definition.

* Also, make all functions in peers.c that
  are not also in peers.h static
include/proto/peers.h
src/peers.c