From b87eb8987eaf327532d3c7afae27ed2735d2b07d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 31 Jan 2012 21:32:46 +0900 Subject: [PATCH] Fixed compile error with gcc-4.4 --- lib/spdylay_session.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spdylay_session.h b/lib/spdylay_session.h index fb46027e..fea9e3a1 100644 --- a/lib/spdylay_session.h +++ b/lib/spdylay_session.h @@ -86,7 +86,7 @@ typedef enum { SPDYLAY_GOAWAY_RECV = 0x2 } spdylay_goaway_flag; -typedef struct spdylay_session { +struct spdylay_session { uint8_t server; int32_t next_stream_id; int32_t last_recv_stream_id; @@ -116,7 +116,7 @@ typedef struct spdylay_session { spdylay_session_callbacks callbacks; void *user_data; -} spdylay_session; +}; /* TODO stream timeout etc */