From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2210) id 2F07E3834F2E; Mon, 6 Jun 2022 14:48:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F07E3834F2E Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Ken Brown To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: remove ntsecapi.h X-Act-Checkin: newlib-cygwin X-Git-Author: Ken Brown X-Git-Refname: refs/heads/master X-Git-Oldrev: 1f8235f6ba841a485dfaa1adc7196673b52e2aac X-Git-Newrev: cb4b4548c828d3975266571190d67650d374339d Message-Id: <20220606144835.2F07E3834F2E@sourceware.org> Date: Mon, 6 Jun 2022 14:48:35 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2022 14:48:35 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dcb4b4548c82= 8d3975266571190d67650d374339d commit cb4b4548c828d3975266571190d67650d374339d Author: Ken Brown Date: Mon Jun 6 10:44:01 2022 -0400 Cygwin: remove ntsecapi.h =20 This was a wrapper for w32api/ntsecapi.h. It was introduced to fix a bug that only affected 32-bit Cygwin, so it is no longer needed. Diff: --- winsup/cygwin/ntsecapi.h | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/winsup/cygwin/ntsecapi.h b/winsup/cygwin/ntsecapi.h deleted file mode 100644 index 8b0a7e77f..000000000 --- a/winsup/cygwin/ntsecapi.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef _CYGWIN_NTSECAPI_H -#define _CYGWIN_NTSECAPI_H - -/* There's a bug in ntsecapi.h (Mingw as well as MSFT). SystemFunction036 - is, in fact, a WINAPI function, but it's not defined as such. Therefore - we have to do it correctly here in the ntsecapi.h wrapper. */ - -#define SystemFunction036 __nonexistant_SystemFunction036__ - -#include_next - -#undef SystemFunction036 - -#define RtlGenRandom SystemFunction036 - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -BOOLEAN WINAPI RtlGenRandom (PVOID, ULONG); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* _CYGWIN_NTSECAPI_H */