Kaynağa Gözat

Remove static

jblanked 1 yıl önce
ebeveyn
işleme
63346f7412
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      assets/FlipperHTTP/flipper_http.h
  2. 2 2
      flipper_http.h

+ 2 - 2
assets/FlipperHTTP/flipper_http.h

@@ -54,7 +54,7 @@ bool flipper_http_post_request_bytes(const char *url, const char *headers, const
 bool flipper_http_save_received_data(size_t bytes_received, const char line_buffer[]);
 bool flipper_http_save_received_data(size_t bytes_received, const char line_buffer[]);
 static char *trim(const char *str);
 static char *trim(const char *str);
 //
 //
-static bool flipper_http_process_response_async(
+bool flipper_http_process_response_async(
     bool (*http_request)(void),
     bool (*http_request)(void),
     bool (*parse_json)(void));
     bool (*parse_json)(void));
 
 
@@ -1531,7 +1531,7 @@ char *trim(const char *str)
  * @param parse_json The function to parse the JSON
  * @param parse_json The function to parse the JSON
  * @return true if successful, false otherwise
  * @return true if successful, false otherwise
  */
  */
-static bool flipper_http_process_response_async(
+bool flipper_http_process_response_async(
     bool (*http_request)(void),
     bool (*http_request)(void),
     bool (*parse_json)(void))
     bool (*parse_json)(void))
 {
 {

+ 2 - 2
flipper_http.h

@@ -53,7 +53,7 @@ bool flipper_http_post_request_bytes(const char *url, const char *headers, const
 bool flipper_http_save_received_data(size_t bytes_received, const char line_buffer[]);
 bool flipper_http_save_received_data(size_t bytes_received, const char line_buffer[]);
 static char *trim(const char *str);
 static char *trim(const char *str);
 //
 //
-static bool flipper_http_process_response_async(
+bool flipper_http_process_response_async(
     bool (*http_request)(void),
     bool (*http_request)(void),
     bool (*parse_json)(void));
     bool (*parse_json)(void));
 
 
@@ -1508,7 +1508,7 @@ char *trim(const char *str)
  * @param parse_json The function to parse the JSON
  * @param parse_json The function to parse the JSON
  * @return true if successful, false otherwise
  * @return true if successful, false otherwise
  */
  */
-static bool flipper_http_process_response_async(
+bool flipper_http_process_response_async(
     bool (*http_request)(void),
     bool (*http_request)(void),
     bool (*parse_json)(void))
     bool (*parse_json)(void))
 {
 {