Commit 42078951 authored by Olivier Bertrand's avatar Olivier Bertrand

Fix compile error (missing declaration) in tabrest.cpp

parent 7a9eca11
...@@ -36,11 +36,6 @@ ...@@ -36,11 +36,6 @@
#include "tabfmt.h" #include "tabfmt.h"
#include "tabrest.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__) #if defined(__WIN__)
static PCSZ slash = "\\"; static PCSZ slash = "\\";
#else // !__WIN__ #else // !__WIN__
...@@ -51,6 +46,11 @@ static PCSZ slash = "/"; ...@@ -51,6 +46,11 @@ static PCSZ slash = "/";
typedef int(__stdcall* XGETREST) (char*, bool, PCSZ, PCSZ, PCSZ); typedef int(__stdcall* XGETREST) (char*, bool, PCSZ, PCSZ, PCSZ);
static XGETREST getRestFnc = NULL; 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) #if !defined(MARIADB)
/***********************************************************************/ /***********************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment