From 420789512fd0f90b150e5ccb61d127e6c80d712a Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Thu, 21 Nov 2019 19:38:17 +0100 Subject: Fix compile error (missing declaration) in tabrest.cpp --- storage/connect/tabrest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'storage/connect/tabrest.cpp') 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) /***********************************************************************/ -- cgit v1.2.1