summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/amigaos.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/amigaos.h')
-rw-r--r--libs/libcurl/src/amigaos.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/libs/libcurl/src/amigaos.h b/libs/libcurl/src/amigaos.h
index 8757aa8e73..9abfb59eac 100644
--- a/libs/libcurl/src/amigaos.h
+++ b/libs/libcurl/src/amigaos.h
@@ -25,22 +25,18 @@
***************************************************************************/
#include "curl_setup.h"
-#if defined(__AMIGA__) && defined(HAVE_BSDSOCKET_H) && !defined(USE_AMISSL)
+#if defined(__AMIGA__) && defined(HAVE_PROTO_BSDSOCKET_H) && \
+ (!defined(USE_AMISSL) || defined(__amigaos4__))
-bool Curl_amiga_init();
-void Curl_amiga_cleanup();
+CURLcode Curl_amiga_init(void);
+void Curl_amiga_cleanup(void);
#else
-#define Curl_amiga_init() 1
+#define Curl_amiga_init() CURLE_OK
#define Curl_amiga_cleanup() Curl_nop_stmt
#endif
-#ifdef USE_AMISSL
-#include <openssl/x509v3.h>
-void Curl_amiga_X509_free(X509 *a);
-#endif /* USE_AMISSL */
-
#endif /* HEADER_CURL_AMIGAOS_H */