summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2019-11-21 19:38:17 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2019-11-21 19:38:17 +0100
commit420789512fd0f90b150e5ccb61d127e6c80d712a (patch)
tree1037494cc3294240aae7d90deac7c4bc4e6395e5
parent7a9eca1191c315b6009e4356d96bd3c4b9fa2415 (diff)
downloadmariadb-git-420789512fd0f90b150e5ccb61d127e6c80d712a.tar.gz
Fix compile error (missing declaration) in tabrest.cpp
-rw-r--r--storage/connect/tabrest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/connect/tabrest.cpp b/storage/connect/tabrest.cpp
index de8383a838d..d070368cfd2 100644
--- a/storage/connect/tabrest.cpp
+++ b/storage/connect/tabrest.cpp
@@ -36,11 +36,6 @@
#include "tabfmt.h"
#include "tabrest.h"
-/***********************************************************************/
-/* Get the file from the Web. */
-/***********************************************************************/
-int restGetFile(char *m, bool x, PCSZ http, PCSZ uri, PCSZ fn);
-
#if defined(__WIN__)
static PCSZ slash = "\\";
#else // !__WIN__
@@ -51,6 +46,11 @@ static PCSZ slash = "/";
typedef int(__stdcall* XGETREST) (char*, bool, PCSZ, PCSZ, PCSZ);
static XGETREST getRestFnc = NULL;
+/***********************************************************************/
+/* Some stupid compilers need these. */
+/***********************************************************************/
+XGETREST GetRestFunction(PGLOBAL g);
+int restGetFile(char* m, bool x, PCSZ http, PCSZ uri, PCSZ fn);
#if !defined(MARIADB)
/***********************************************************************/