VirtualBox

Changeset 32168 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Sep 1, 2010 6:49:26 AM (14 years ago)
Author:
vboxsync
Message:

X11 Additions: warnings

Location:
trunk/src/VBox/Additions/x11
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/undefined_13

    r31310 r32168  
    2222XNFcalloc
    2323XNFstrdup
    24 Xalloc
    25 Xcalloc
    26 Xfree
    2724_Jv_RegisterClasses
    2825___errno
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_dri.c

    r28800 r32168  
    8484    int cConfigs = 2;  /* With and without double buffering */
    8585    __GLXvisualConfig *pConfigs = NULL;
    86     pConfigs = (__GLXvisualConfig*) xcalloc(sizeof(__GLXvisualConfig),
    87                                             cConfigs);
     86    pConfigs = (__GLXvisualConfig*) calloc(sizeof(__GLXvisualConfig),
     87                                           cConfigs);
    8888    if (!pConfigs)
    8989    {
     
    133133    }
    134134    if (!rc && pConfigs)
    135         xfree(pConfigs);
     135        free(pConfigs);
    136136    TRACE_LOG("returning %s\n", BOOL_STR(rc));
    137137    return rc;
     
    244244        pDRIInfo->busIdString = DRICreatePCIBusID(pVBox->pciInfo);
    245245#else
    246         pDRIInfo->busIdString = xalloc(64);
     246        pDRIInfo->busIdString = alloc(64);
    247247        sprintf(pDRIInfo->busIdString, "PCI:%d:%d:%d",
    248248            ((pciConfigPtr)pVBox->pciInfo->thisCard)->busnum,
     
    326326    pVBox->pDRIInfo=0;
    327327    if (pVBox->pVisualConfigs)
    328         xfree(pVBox->pVisualConfigs);
     328        free(pVBox->pVisualConfigs);
    329329    pVBox->cVisualConfigs = 0;
    330330    pVBox->pVisualConfigs = NULL;
  • trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/edid.h

    r32163 r32168  
    603603
    604604struct cea_vendor_block_hdmi {
    605   Uchar portB:4;
    606   Uchar portA:4;
    607   Uchar portD:4;
    608   Uchar portC:4;
     605  __extension__ Uchar portB:4;
     606  __extension__ Uchar portA:4;
     607  __extension__ Uchar portD:4;
     608  __extension__ Uchar portC:4;
    609609  Uchar  support_flags;
    610610  Uchar  max_tmds_clock;
     
    621621      struct cea_vendor_block_hdmi hdmi;
    622622      /* any other vendor blocks we know about */
    623   };
     623  } dummy;
    624624};
    625625
    626626struct cea_speaker_block
    627627{
    628   Uchar FLR:1;
    629   Uchar LFE:1;
    630   Uchar FC:1;
    631   Uchar RLR:1;
    632   Uchar RC:1;
    633   Uchar FLRC:1;
    634   Uchar RLRC:1;
    635   Uchar FLRW:1;
    636   Uchar FLRH:1;
    637   Uchar TC:1;
    638   Uchar FCH:1;
    639   Uchar Resv:5;
    640   Uchar ResvByte;
     628  __extension__ Uchar FLR:1;
     629  __extension__ Uchar LFE:1;
     630  __extension__ Uchar FC:1;
     631  __extension__ Uchar RLR:1;
     632  __extension__ Uchar RC:1;
     633  __extension__ Uchar FLRC:1;
     634  __extension__ Uchar RLRC:1;
     635  __extension__ Uchar FLRW:1;
     636  __extension__ Uchar FLRH:1;
     637  __extension__ Uchar TC:1;
     638  __extension__ Uchar FCH:1;
     639  __extension__ Uchar Resv:5;
     640  __extension__ Uchar ResvByte;
    641641};
    642642
    643643struct cea_data_block {
    644   Uchar len:5;
    645   Uchar tag:3;
     644  __extension__ Uchar len:5;
     645  __extension__ Uchar tag:3;
    646646  union{
    647647    struct cea_video_block video;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette