Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-05-04 15:00:22 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-05-04 15:00:22 +0400
commit5d4750a99625a94f2e899824957b7d71406aa57b (patch)
treedafacfa62f8fed5c1b09cccf25b967f37f108a68 /winsup/cygwin/debug.cc
parentf3b00363042bd97ec1adebc976ef4012d93142f1 (diff)
* cygerrno.h (__set_errno): Define as inline function here.
(set_errno): Always define as call to __set_errno. * debug.cc (__set_errno): Move to cygerrno.h.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index ad493cd9d..b7c2b59b4 100644
--- a/winsup/cygwin/debug.cc
+++ b/winsup/cygwin/debug.cc
@@ -230,12 +230,4 @@ close_handle (const char *func, int ln, HANDLE h, const char *name, bool force)
#endif
return ret;
}
-
-int __stdcall
-__set_errno (const char *func, int ln, int val)
-{
- debug_printf ("%s:%d val %d", func, ln, val);
- _impure_ptr->_errno = val;
- return errno = val;
-}
#endif /*DEBUGGING*/