From 5d4750a99625a94f2e899824957b7d71406aa57b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 4 May 2005 11:00:22 +0000 Subject: * 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. --- winsup/cygwin/debug.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'winsup/cygwin/debug.cc') 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*/ -- cgit v1.2.3