1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix compile error (missing declaration) in tabrest.cpp

This commit is contained in:
Olivier Bertrand
2019-11-21 19:38:17 +01:00
parent 7a9eca1191
commit 420789512f

View File

@@ -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)
/***********************************************************************/