From: Willy Tarreau Date: Mon, 1 Dec 2008 00:35:40 +0000 (+0100) Subject: [MINOR] declare process_session in session.h, not proto_http.h X-Git-Tag: v1.3.16-rc1~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e43d42490a9a50bf5a512adbcb097bc925403376;p=thirdparty%2Fhaproxy.git [MINOR] declare process_session in session.h, not proto_http.h --- diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h index 04e68a8be9..c723651871 100644 --- a/include/proto/proto_http.h +++ b/include/proto/proto_http.h @@ -58,7 +58,6 @@ extern const char http_is_ver_token[256]; #define HTTP_IS_VER_TOKEN(x) (http_is_ver_token[(unsigned char)(x)]) int event_accept(int fd); -void process_session(struct task *t, int *next); int process_cli(struct session *t); int process_srv_data(struct session *t); int process_srv_conn(struct session *t); diff --git a/include/proto/session.h b/include/proto/session.h index 0357757102..ad0a57ea34 100644 --- a/include/proto/session.h +++ b/include/proto/session.h @@ -36,6 +36,7 @@ int init_session(); void session_process_counters(struct session *s); void sess_change_server(struct session *sess, struct server *newsrv); +void process_session(struct task *t, int *next); static void inline trace_term(struct session *s, unsigned int code) {