diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:36:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:36:41 +0200 |
commit | de872dea2d88f183c3f434c694acdcdb373f639c (patch) | |
tree | fb9084eb931c9789060e65ee3be3dc5adcb30e73 /src/testcurl/test_get.c | |
parent | 6347f514aa2388e774d5bf356df8046864e5f73c (diff) | |
download | libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.tar.gz libmicrohttpd-de872dea2d88f183c3f434c694acdcdb373f639c.zip |
define and use 'enum MHD_Result'
Diffstat (limited to 'src/testcurl/test_get.c')
-rw-r--r-- | src/testcurl/test_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_get.c b/src/testcurl/test_get.c index 3ab05d9a..91efdefd 100644 --- a/src/testcurl/test_get.c +++ b/src/testcurl/test_get.c | |||
@@ -98,7 +98,7 @@ log_cb (void *cls, | |||
98 | } | 98 | } |
99 | 99 | ||
100 | 100 | ||
101 | static int | 101 | static enum MHD_Result |
102 | ahc_echo (void *cls, | 102 | ahc_echo (void *cls, |
103 | struct MHD_Connection *connection, | 103 | struct MHD_Connection *connection, |
104 | const char *url, | 104 | const char *url, |
@@ -110,7 +110,7 @@ ahc_echo (void *cls, | |||
110 | static int ptr; | 110 | static int ptr; |
111 | const char *me = cls; | 111 | const char *me = cls; |
112 | struct MHD_Response *response; | 112 | struct MHD_Response *response; |
113 | int ret; | 113 | enum MHD_Result ret; |
114 | const char *v; | 114 | const char *v; |
115 | (void) version; | 115 | (void) version; |
116 | (void) upload_data; | 116 | (void) upload_data; |
@@ -714,7 +714,7 @@ testStopRace (int poll_flag) | |||
714 | } | 714 | } |
715 | 715 | ||
716 | 716 | ||
717 | static int | 717 | static enum MHD_Result |
718 | ahc_empty (void *cls, | 718 | ahc_empty (void *cls, |
719 | struct MHD_Connection *connection, | 719 | struct MHD_Connection *connection, |
720 | const char *url, | 720 | const char *url, |
@@ -726,7 +726,7 @@ ahc_empty (void *cls, | |||
726 | { | 726 | { |
727 | static int ptr; | 727 | static int ptr; |
728 | struct MHD_Response *response; | 728 | struct MHD_Response *response; |
729 | int ret; | 729 | enum MHD_Result ret; |
730 | (void) cls; | 730 | (void) cls; |
731 | (void) url; | 731 | (void) url; |
732 | (void) url; | 732 | (void) url; |