This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: w32api compiler warning fix.
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Subject: Re: w32api compiler warning fix.
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 07 Nov 2001 09:07:15 -0500
- CC: cygwin-patches at cygwin dot com
- References: <1005138474.519.2.camel@lifelesswks>
- Reply-To: CP List <Cygwin-Patches at Cygwin dot Com>
Check this in.
Robert Collins wrote:
> ChangeLog
>
> 2001-11-08 Robert Collins <rbtcollins@hotmail.com>
>
> * include/winnt.h: Define *_SID_AUTHORITY appropriately. (nested
> structures.)
> GetCurrentFiber: Create a prototype before the implementation;
> GetFiberData: Ditto.
>
> Cheers,
> Rob
>
> Index: include/winnt.h
> ===================================================================
> RCS file: /cvs/src/src/winsup/w32api/include/winnt.h,v
> retrieving revision 1.31
> diff -u -p -r1.31 winnt.h
> --- winnt.h 2001/11/01 19:42:56 1.31
> +++ winnt.h 2001/11/07 13:04:19
> @@ -267,12 +267,12 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
> #define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
> #define EXCEPTION_NONCONTINUABLE 1
> #define EXCEPTION_MAXIMUM_PARAMETERS 15
> -#define SECURITY_NULL_SID_AUTHORITY {0,0,0,0,0,0}
> -#define SECURITY_WORLD_SID_AUTHORITY {0,0,0,0,0,1}
> -#define SECURITY_LOCAL_SID_AUTHORITY {0,0,0,0,0,2}
> -#define SECURITY_CREATOR_SID_AUTHORITY {0,0,0,0,0,3}
> -#define SECURITY_NON_UNIQUE_AUTHORITY {0,0,0,0,0,4}
> -#define SECURITY_NT_AUTHORITY {0,0,0,0,0,5}
> +#define SECURITY_NULL_SID_AUTHORITY {{0,0,0,0,0,0}}
> +#define SECURITY_WORLD_SID_AUTHORITY {{0,0,0,0,0,1}}
> +#define SECURITY_LOCAL_SID_AUTHORITY {{0,0,0,0,0,2}}
> +#define SECURITY_CREATOR_SID_AUTHORITY {{0,0,0,0,0,3}}
> +#define SECURITY_NON_UNIQUE_AUTHORITY {{0,0,0,0,0,4}}
> +#define SECURITY_NT_AUTHORITY {{0,0,0,0,0,5}}
> #define SECURITY_NULL_RID 0
> #define SECURITY_WORLD_RID 0
> #define SECURITY_LOCAL_RID 0
> @@ -2524,6 +2524,7 @@ typedef struct _REPARSE_POINT_INFORMATIO
> WORD ReparseDataLength;
> WORD UnparsedNameLength;
> } REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION;
> +PVOID GetCurrentFiber(void);
> extern __inline__ PVOID GetCurrentFiber(void)
> {
> void* ret;
> @@ -2534,7 +2535,7 @@ extern __inline__ PVOID GetCurrentFiber(
> );
> return ret;
> }
> -
> +PVOID GetFiberData(void);
> extern __inline__ PVOID GetFiberData(void)
> {
> void* ret;
--
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com