Changeset 21357 for trunk/src


Ignore:
Timestamp:
Feb 21, 2010, 5:34:22 PM (16 years ago)
Author:
rlwalsh
Message:

eliminate GCC warning & info msgs - see Ticket #1

Location:
trunk/src/NTDLL
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/large_int.c

    r9986 r21357  
    3232 * and do everything by hand. You are welcome to do it...
    3333 */
     34
     35/******************************************************************************
     36 * used by RtlLargeIntegerToChar() - prototyped here to quiet the compiler
     37 */
     38
     39void* memcpy(void*, const void*, size_t);
    3440
    3541/******************************************************************************
  • trunk/src/NTDLL/ntdll.c

    r9992 r21357  
    8989    case DLL_PROCESS_ATTACH:
    9090    {
    91         SID_IDENTIFIER_AUTHORITY sidIdAuth = {0};
     91        SID_IDENTIFIER_AUTHORITY sidIdAuth = {{0}};
    9292
    9393        ProcSecInfo.dwType = SECTYPE_PROCESS | SECTYPE_INITIALIZED;
  • trunk/src/NTDLL/ntdll.def

    r21307 r21357  
    976976    __i64toa                                                            @949
    977977    __i64tow                                                            @950
    978     _itoa                         = _NTDLL_itoa                         @951
    979     __itow                                                                      @952
    980     _ltoa                         = _NTDLL_ltoa                         @953
    981     __ltow                                                              @954
    982     _memccpy                                                            @955
    983     _memicmp                      = _NTDLL__memicmp                     @956
    984     __snprintf                     = _snprintf                          @957
    985     __snwprintf                    = __snwprintf                        @958
    986     __splitpath                    = __splitpath                        @959
    987     _strcmpi                      = _stricmp                            @960
    988     _stricmp                      = _stricmp                            @961
    989     _strlwr                       = _strlwr                             @962
    990     _strnicmp                                                           @963
    991     _strupr                                                             @964
    992     _ultoa                        = _NTDLL_ultoa                         @967
    993     __ultow                                                             @968
    994     _vsnprintf                                                          @969
    995     _wcsicmp                      = _NTDLL__wcsicmp                             @970
    996     _wcslwr                       = _NTDLL__wcslwr                              @971
    997     _wcsnicmp                     = _NTDLL__wcsnicmp                            @972
    998     _wcsupr                       = _NTDLL__wcsupr                              @973
    999     __wtoi                                                              @974
    1000     __wtoi64                                                            @975
    1001     __wtol                                                              @976
     978    _itoa                         = _NTDLL_itoa             @951
     979    __itow                                                  @952
     980    _ltoa                         = _NTDLL_ltoa             @953
     981    __ltow                                                  @954
     982    _memccpy                      = __std_memccpy           @955
     983    _memicmp                      = _NTDLL__memicmp         @956
     984    __snprintf                    = __std_snprintf          @957
     985    __snwprintf                   = __snwprintf             @958
     986    __splitpath                   = __splitpath             @959
     987    _strcmpi                      = __std_stricmp           @960
     988    _stricmp                      = __std_stricmp           @961
     989    _strlwr                       = __std_strlwr            @962
     990    _strnicmp                     = __std_strnicmp          @963
     991    _strupr                       = __std_strupr            @964
     992    _ultoa                        = _NTDLL_ultoa            @967
     993    __ultow                                                 @968
     994    _vsnprintf                    = __std_vsnprintf         @969
     995    _wcsicmp                      = _NTDLL__wcsicmp         @970
     996    _wcslwr                       = _NTDLL__wcslwr          @971
     997    _wcsnicmp                     = _NTDLL__wcsnicmp        @972
     998    _wcsupr                       = _NTDLL__wcsupr          @973
     999    __wtoi                                                  @974
     1000    __wtoi64                                                @975
     1001    __wtol                                                  @976
    10021002
    10031003; Borrow most funcs from our internal Odin EMX runtime
  • trunk/src/NTDLL/reg.c

    r9992 r21357  
    1919#include "debugtools.h"
    2020
     21/*RLW - this isn't used & generates a gcc warning */
     22#if 0
    2123
    2224/* translates predefined paths to HKEY_ constants */
     
    8284}
    8385
    84 
     86#endif
    8587
    8688/******************************************************************************
  • trunk/src/NTDLL/rtl.c

    r9992 r21357  
    443443                                             DWORD           x3)
    444444{
    445   LPSTR fromA = HEAP_strdupWtoA(GetProcessHeap(),0,from);
     445//  LPSTR fromA = HEAP_strdupWtoA(GetProcessHeap(),0,from);
    446446
    447447  dprintf(("NTDLL: RtlDosPathNameToNtPathName_U(%08xh,%08h,%08xh,%08xh) not implemented.\n",
     
    614614        OSVERSIONINFOEXW versionInfo;
    615615        versionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXW);
    616         GetVersionExW((OSVERSIONINFOW*)&versionInfo);
     616        GetVersionExW((OSVERSIONINFOW*)((void*)&versionInfo));
    617617
    618618        if (major)
  • trunk/src/NTDLL/time.c

    r9986 r21357  
    453453    RtlQueryTimeZoneInformation(&tzinfo);
    454454    LocalTime->QuadPart = SystemTime->QuadPart - tzinfo.Bias * 60 * (LONGLONG)10000000;
    455     return STATUS_SUCCESS;
     455    return;
    456456}
    457457
Note: See TracChangeset for help on using the changeset viewer.