From 269fd01bc13c14ccec9ceed5ff324d5a67adf7ad Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Mon, 8 Jul 2013 10:46:15 +0400 Subject: =?UTF-8?q?fixing=20warnings:=20-=20no=20previous=20declaration=20?= =?UTF-8?q?for=20=E2=80=98=5Fisatty=E2=80=99=20-=20implicit=20declaration?= =?UTF-8?q?=20of=20function=20=E2=80=98=5Fisatty=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit modified: storage/connect/fmdlex.c storage/connect/osutil.c --- storage/connect/fmdlex.c | 4 +++- storage/connect/osutil.c | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'storage') diff --git a/storage/connect/fmdlex.c b/storage/connect/fmdlex.c index 669104b4425..d55b4661426 100644 --- a/storage/connect/fmdlex.c +++ b/storage/connect/fmdlex.c @@ -24,6 +24,9 @@ #define __STDC__ 1 #endif #include +#ifndef defined(WIN32) +#include +#endif /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ @@ -392,7 +395,6 @@ char *yytext; #include #include "preparse.h" -#define isatty _isatty #define fileno _fileno #undef YY_DECL #define YY_DECL int yylex YY_PROTO((PDTP ppp)) diff --git a/storage/connect/osutil.c b/storage/connect/osutil.c index 9a7575b3258..4cdd7c560f0 100644 --- a/storage/connect/osutil.c +++ b/storage/connect/osutil.c @@ -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, -- cgit v1.2.1