Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / convert_json.h
index ea9bafb799a4afcd6507d81d889dc07b474f955f..b5831884fa98a7446f7c6c860608a40681c76585 100644 (file)
@@ -20,15 +20,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef __CONVERT_JSON_H__
 #define __CONVERT_JSON_H__
 
-#include "json/json.h"
-
-struct ModStoreMod;
-struct ModStoreModDetails;
-
-std::vector<ModStoreMod>    readModStoreList(Json::Value& modlist);
-ModStoreModDetails          readModStoreModDetails(Json::Value& details);
+#include <json/json.h>
 
 Json::Value                 fetchJsonValue(const std::string &url,
-                                           struct curl_slist *chunk);
+                                           std::vector<std::string> *extra_headers);
 
 #endif