Ignore:
Timestamp:
Oct 18, 2011, 9:16:41 PM (14 years ago)
Author:
dmik
Message:

Use const char * for arguments accepting literal strings.

This is more correct and also clears GCC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/win/ntdef.h

    r21419 r21717  
    99#endif
    1010
    11 #define NTAPI   __stdcall 
     11#define NTAPI   __stdcall
    1212
    1313#ifndef IN
     
    3030typedef NTSTATUS *PNTSTATUS;
    3131
     32typedef char *PSZ;
    3233typedef CONST char *PCSZ;
    3334
    3435typedef short CSHORT;
    35 typedef CSHORT *PCSHORT; 
     36typedef CSHORT *PCSHORT;
    3637
    3738/* NT lowlevel Strings (handled by Rtl* functions in NTDLL)
     
    7374#define OBJ_VALID_ATTRIBUTES    0x000003F2L
    7475
    75 typedef struct _OBJECT_ATTRIBUTES 
     76typedef struct _OBJECT_ATTRIBUTES
    7677{   ULONG Length;
    7778    HANDLE RootDirectory;
Note: See TracChangeset for help on using the changeset viewer.