From: Corinna Vinschen Date: Mon, 22 Aug 2022 12:53:11 +0000 (+0200) Subject: Cygwin: push missing change to debug.h X-Git-Tag: cygwin-3.4.0~93 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=74983727c050df8d873510fc0752472c98fa20fa;p=newlib-cygwin.git Cygwin: push missing change to debug.h Fixes: 48a210a457c5 ("Cygwin: debugging: convert muto to SRWLOCK") Signed-off-by: Corinna Vinschen --- diff --git a/winsup/cygwin/local_includes/debug.h b/winsup/cygwin/local_includes/debug.h index 0fcfa13a5..858f8d5dc 100644 --- a/winsup/cygwin/local_includes/debug.h +++ b/winsup/cygwin/local_includes/debug.h @@ -21,7 +21,6 @@ details. */ # define ProtectHandleINH(h) do {} while (0) # define ProtectHandle1INH(h,n) do {} while (0) # define ProtectHandle2INH(h,n) do {} while (0) -# define debug_init() do {} while (0) # define setclexec(h, nh, b) do {} while (0) # define debug_fixup_after_fork_exec() do {} while (0) # define VerifyHandle(h) do {} while (0) @@ -52,7 +51,6 @@ details. */ # define ProtectHandle2INH(h, n) add_handle (__PRETTY_FUNCTION__, __LINE__, (h), n, 1) # define VerifyHandle(h) verify_handle (__PRETTY_FUNCTION__, __LINE__, (h)) -void debug_init (); void add_handle (const char *, int, HANDLE, const char *, bool = false); void verify_handle (const char *, int, HANDLE); bool close_handle (const char *, int, HANDLE, const char *, bool);