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/winos2def.h

    r223 r21717  
    3131#endif
    3232
    33 #ifndef PSZ
    34 #  define PSZ char *
    35 #endif
     33typedef char *PSZ;
     34typedef const char *PCSZ;
    3635
    3736
     
    5554
    5655    return yyrc;
    57 } 
     56}
    5857
    5958#undef  WinPostMsg
     
    6968
    7069    return yyrc;
    71 } 
     70}
    7271
    7372#undef  DosSleep
     
    116115
    117116    return yyrc;
    118 } 
     117}
    119118
    120119#undef  DosQueryCtryInfo
Note: See TracChangeset for help on using the changeset viewer.