diff --git a/examples/tiny-nghttpd.c b/examples/tiny-nghttpd.c index a7677ee1..e11df975 100644 --- a/examples/tiny-nghttpd.c +++ b/examples/tiny-nghttpd.c @@ -190,7 +190,7 @@ typedef enum { NGHTTP2_TOKEN__METHOD, NGHTTP2_TOKEN__PATH, NGHTTP2_TOKEN__SCHEME, - NGHTTP2_TOKEN_HOST, + NGHTTP2_TOKEN_HOST } nghttp2_token; /* Inspired by h2o header lookup. https://github.com/h2o/h2o */ diff --git a/lib/nghttp2_hd.h b/lib/nghttp2_hd.h index 4b76d1ce..1b9ca7e9 100644 --- a/lib/nghttp2_hd.h +++ b/lib/nghttp2_hd.h @@ -109,7 +109,7 @@ typedef enum { NGHTTP2_TOKEN_CONNECTION, NGHTTP2_TOKEN_KEEP_ALIVE, NGHTTP2_TOKEN_PROXY_CONNECTION, - NGHTTP2_TOKEN_UPGRADE, + NGHTTP2_TOKEN_UPGRADE } nghttp2_token; typedef enum { diff --git a/lib/nghttp2_option.h b/lib/nghttp2_option.h index db94be55..a79d0e77 100644 --- a/lib/nghttp2_option.h +++ b/lib/nghttp2_option.h @@ -58,7 +58,7 @@ typedef enum { */ NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS = 1 << 1, NGHTTP2_OPT_RECV_CLIENT_PREFACE = 1 << 2, - NGHTTP2_OPT_NO_HTTP_MESSAGING = 1 << 3, + NGHTTP2_OPT_NO_HTTP_MESSAGING = 1 << 3 } nghttp2_option_flag; /** diff --git a/lib/nghttp2_outbound_item.h b/lib/nghttp2_outbound_item.h index 110e0577..0be5cb76 100644 --- a/lib/nghttp2_outbound_item.h +++ b/lib/nghttp2_outbound_item.h @@ -81,7 +81,7 @@ typedef enum { /* indicates that this GOAWAY is just a notification for graceful shutdown. No nghttp2_session.goaway_flags should be updated on the reaction to this frame. */ - NGHTTP2_GOAWAY_AUX_SHUTDOWN_NOTICE = 0x2, + NGHTTP2_GOAWAY_AUX_SHUTDOWN_NOTICE = 0x2 } nghttp2_goaway_aux_flag; /* struct used for GOAWAY frame */ diff --git a/lib/nghttp2_session.h b/lib/nghttp2_session.h index fb08c652..0f5a4eee 100644 --- a/lib/nghttp2_session.h +++ b/lib/nghttp2_session.h @@ -47,7 +47,7 @@ typedef enum { NGHTTP2_OPTMASK_NO_AUTO_WINDOW_UPDATE = 1 << 0, NGHTTP2_OPTMASK_RECV_CLIENT_PREFACE = 1 << 1, - NGHTTP2_OPTMASK_NO_HTTP_MESSAGING = 1 << 2, + NGHTTP2_OPTMASK_NO_HTTP_MESSAGING = 1 << 2 } nghttp2_optmask; typedef enum { @@ -84,7 +84,7 @@ typedef enum { NGHTTP2_IB_READ_PAD_DATA, NGHTTP2_IB_READ_DATA, NGHTTP2_IB_IGN_DATA, - NGHTTP2_IB_IGN_ALL, + NGHTTP2_IB_IGN_ALL } nghttp2_inbound_state; #define NGHTTP2_INBOUND_NUM_IV 7 @@ -136,7 +136,7 @@ typedef enum { /* Flag means GOAWAY was sent */ NGHTTP2_GOAWAY_SENT = 0x4, /* Flag means GOAWAY was received */ - NGHTTP2_GOAWAY_RECV = 0x8, + NGHTTP2_GOAWAY_RECV = 0x8 } nghttp2_goaway_flag; struct nghttp2_session { diff --git a/lib/nghttp2_stream.h b/lib/nghttp2_stream.h index 65a7f10d..684459ba 100644 --- a/lib/nghttp2_stream.h +++ b/lib/nghttp2_stream.h @@ -133,7 +133,7 @@ typedef enum { /* "http" or "https" scheme */ NGHTTP2_HTTP_FLAG_SCHEME_HTTP = 1 << 12, /* set if final response is expected */ - NGHTTP2_HTTP_FLAG_EXPECT_FINAL_RESPONSE = 1 << 13, + NGHTTP2_HTTP_FLAG_EXPECT_FINAL_RESPONSE = 1 << 13 } nghttp2_http_flag; typedef enum {