Commit 269fd01b authored by Alexander Barkov's avatar Alexander Barkov

fixing warnings:

- no previous declaration for ‘_isatty’
- implicit declaration of function ‘_isatty’

modified:
  storage/connect/fmdlex.c
  storage/connect/osutil.c
parent e2461d47
......@@ -24,6 +24,9 @@
#define __STDC__ 1
#endif
#include <stdio.h>
#ifndef defined(WIN32)
#include <unistd.h>
#endif
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
......@@ -392,7 +395,6 @@ char *yytext;
#include <string.h>
#include "preparse.h"
#define isatty _isatty
#define fileno _fileno
#undef YY_DECL
#define YY_DECL int yylex YY_PROTO((PDTP ppp))
......
......@@ -202,11 +202,6 @@ BOOL MessageBeep(uint i)
return TRUE;
} /* end of MessageBeep */
int _isatty(int fileNo)
{
return isatty(fileNo);
} /* end of _isatty */
#if 0
/* This function is ridiculous and should be revisited */
DWORD FormatMessage(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId,
......
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