Ignore:
Timestamp:
Feb 26, 2000, 8:59:55 PM (26 years ago)
Author:
bird
Message:

Corrected error: No assigment when declaring variables extern!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/lib/libDosAllocMemEx.c

    r2904 r2914  
    1 /* $Id: libDosAllocMemEx.c,v 1.2 2000-02-26 17:48:22 bird Exp $
     1/* $Id: libDosAllocMemEx.c,v 1.3 2000-02-26 19:59:55 bird Exp $
    22 *
    33 * DosAllocMemEx - Extened Edition of DosAllocMem.
     
    2424*******************************************************************************/
    2525#include <os2.h>
    26 #include <win32k.h>
     26#include "win32k.h"
    2727
    2828
     
    3030*   Global Variables                                                           *
    3131*******************************************************************************/
    32 extern BOOL     fInited = FALSE;
    33 extern HFILE    hWin32k = NULLHANDLE;
     32extern BOOL     fInited;
     33extern HFILE    hWin32k;
    3434
    3535
     
    4949        Param.flFlags = flag;
    5050        Param.rc = 0;
    51         Param.ulCS = -1;
    52         Param.ulEIP = -1;
     51        Param.ulCS = libHelperGetCS();
     52        Param.ulEIP = *(PULONG)((int)(&ppv) - 4);
    5353
    5454        rc = DosDevIOCtl(hWin32k,
Note: See TracChangeset for help on using the changeset viewer.