summaryrefslogtreecommitdiff
path: root/storage/connect/osutil.c
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2013-07-08 10:37:09 +0400
committerAlexander Barkov <bar@mariadb.org>2013-07-08 10:37:09 +0400
commite2461d47cbb62c8b804ce72dfc521f963786997a (patch)
tree807653e9cb115d1c950e7f3fdb3d109ccbc5196b /storage/connect/osutil.c
parent66c1665e8991fcc0eda64b63350b46e424e32861 (diff)
downloadmariadb-git-e2461d47cbb62c8b804ce72dfc521f963786997a.tar.gz
Fixing the "no previous declaration for ‘_strerror'" warning.
modified: storage/connect/filamvct.cpp storage/connect/osutil.c storage/connect/tabvct.cpp
Diffstat (limited to 'storage/connect/osutil.c')
-rw-r--r--storage/connect/osutil.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/storage/connect/osutil.c b/storage/connect/osutil.c
index 1b7332357e6..9a7575b3258 100644
--- a/storage/connect/osutil.c
+++ b/storage/connect/osutil.c
@@ -202,14 +202,6 @@ BOOL MessageBeep(uint i)
return TRUE;
} /* end of MessageBeep */
-LPSTR _strerror(int errn)
- {
- static char buff[256];
-
- sprintf(buff,"error: %d", errn);
- return buff;
- } /* end of _strerror */
-
int _isatty(int fileNo)
{
return isatty(fileNo);