mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-27 01:50:28 +00:00
Compile with gcc
This commit is contained in:
parent
cb6aea9aa9
commit
474a6db00c
@ -44,7 +44,7 @@ static void deflate(nghttp2_hd_deflater *deflater,
|
|||||||
static int inflate_header_block(nghttp2_hd_inflater *inflater, uint8_t *in,
|
static int inflate_header_block(nghttp2_hd_inflater *inflater, uint8_t *in,
|
||||||
size_t inlen, int final);
|
size_t inlen, int final);
|
||||||
|
|
||||||
int main() {
|
int main(void) {
|
||||||
int rv;
|
int rv;
|
||||||
nghttp2_hd_deflater *deflater;
|
nghttp2_hd_deflater *deflater;
|
||||||
nghttp2_hd_inflater *inflater;
|
nghttp2_hd_inflater *inflater;
|
||||||
|
@ -37,7 +37,7 @@ static int init_suite1(void) { return 0; }
|
|||||||
|
|
||||||
static int clean_suite1(void) { return 0; }
|
static int clean_suite1(void) { return 0; }
|
||||||
|
|
||||||
int main() {
|
int main(void) {
|
||||||
CU_pSuite pSuite = NULL;
|
CU_pSuite pSuite = NULL;
|
||||||
unsigned int num_tests_failed;
|
unsigned int num_tests_failed;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ static int init_suite1(void) { return 0; }
|
|||||||
|
|
||||||
static int clean_suite1(void) { return 0; }
|
static int clean_suite1(void) { return 0; }
|
||||||
|
|
||||||
int main() {
|
int main(void) {
|
||||||
CU_pSuite pSuite = NULL;
|
CU_pSuite pSuite = NULL;
|
||||||
unsigned int num_tests_failed;
|
unsigned int num_tests_failed;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user