Ignore:
Timestamp:
Oct 9, 2005, 3:11:51 PM (20 years ago)
Author:
pr
Message:

Update functions using exception handlers to force non-register variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/memdebug.c

    r222 r297  
    199199    }
    200200    else
    201         return (!DosRequestMutexSem(G_hmtxMallocList,
    202                                     SEM_INDEFINITE_WAIT));
    203 
    204     return (FALSE);
     201        return !DosRequestMutexSem(G_hmtxMallocList,
     202                                   SEM_INDEFINITE_WAIT);
     203
     204    return FALSE;
    205205}
    206206
     
    246246STATIC PHEAPITEM FindHeapItem(void *p)
    247247{
    248     return ((PHEAPITEM)treeFind(G_pHeapItemsRoot,
    249                                 (ULONG)p,
    250                                 treeCompareKeys));
     248    return (PHEAPITEM)treeFind(G_pHeapItemsRoot,
     249                               (ULONG)p,
     250                               treeCompareKeys);
    251251}
    252252
     
    417417        }
    418418
    419     return (prc);
     419    return prc;
    420420}
    421421
     
    440440                         pcszFunction);
    441441    memset(p, 0, num * stSize);
    442     return (p);
     442    return p;
    443443}
    444444
     
    547547        // p == NULL: this is valid, use malloc() instead
    548548        // V0.9.12 (2001-05-21) [umoeller]
    549         return (memdMalloc(stSize, pcszSourceFile, ulLine, pcszFunction));
     549        return memdMalloc(stSize, pcszSourceFile, ulLine, pcszFunction);
    550550
    551551    if (memdLock())
     
    665665    }
    666666
    667     return (prc);
     667    return prc;
    668668}
    669669
     
    727727    }
    728728
    729     return (ulItemsReleased);
     729    return ulItemsReleased;
    730730}
    731731
Note: See TracChangeset for help on using the changeset viewer.