Changeset 2244


Ignore:
Timestamp:
Aug 30, 2017, 7:26:18 PM (8 years ago)
Author:
Silvan Scherrer
Message:

ghostscript: remove a lot warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified ghostscript/trunk/psi/dpmain.c

    r2243 r2244  
    2525 */
    2626
     27#define OS2EMX_PLAIN_CHAR
    2728#define INCL_DOS
    2829#define INCL_DOSERRORS
     
    7778static int display_update(void *handle, void *device, int x, int y,
    7879        int w, int h);
     80void *display_memalloc(void *handle, void *device, unsigned long size);
     81int display_memfree(void *handle, void *device, void *mem);
     82void image_color(unsigned int format, int index,
     83    unsigned char *r, unsigned char *g, unsigned char *b);
    7984void gs_addmess(const char *str);
    8085BOOL gs_free_dll(void);
     
    964969        if (needed > img->committed) {
    965970            /* commit more memory */
    966             if (rc = DosSetMem(img->bitmap + img->committed,
    967                            needed - img->committed,
    968                            PAG_COMMIT | PAG_DEFAULT)) {
     971            if ((rc = DosSetMem(img->bitmap + img->committed,
     972                      needed - img->committed, PAG_COMMIT | PAG_DEFAULT))) {
    969973                sprintf(logBuf, "No memory in display_memalloc rc = %d\n", rc);
    970974                gs_addmess(logBuf);
Note: See TracChangeset for help on using the changeset viewer.