Skip to content
Snippets Groups Projects
Commit 2f8f5aaf authored by rswindell's avatar rswindell
Browse files

filematch and delfiles are actually C (not C++) functions.

parent f7ec6d09
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ char * sbbs_t::getfilespec(char *str)
/****************************************************************************/
/* Checks to see if filename matches filespec. Returns 1 if yes, 0 if no */
/****************************************************************************/
BOOL filematch(char *filename, char *filespec)
extern "C" BOOL filematch(char *filename, char *filespec)
{
char c;
......@@ -270,7 +270,7 @@ BOOL filematch(char *filename, char *filespec)
/****************************************************************************/
/* Deletes all files in dir 'path' that match file spec 'spec' */
/****************************************************************************/
uint delfiles(char *inpath, char *spec)
extern "C" uint delfiles(char *inpath, char *spec)
{
char path[MAX_PATH+1];
uint i,files=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment