VirtualBox

Changeset 69075 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Oct 13, 2017 2:17:38 PM (7 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: Several small clean-ups.
bugref:9017: Additions/x11: put vboxvideo into upstream X.Org

This change:

  • Removes a forgotten unneeded dependency.
  • Corrects the usage of quote and angular brackets with X.Org and X11

header files.

  • Removes an out-dated comment.
  • Removes the BOOL_STR macro which was only used in one place.
  • Removes the unneeded initialisation of the guest library, which is no

longer used in the driver at all.

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r69061 r69075  
    4141vboxvideo_override_INCLUDES = \
    4242    -include $(PATH_ROOT)/src/VBox/Additions/x11/vboxvideo/HGSMIMemAlloc.h
    43 
    44 vboxvideo.c_DEPS = $(VBOX_SVN_REV_HEADER)
    4543
    4644LIBRARIES += vboxvideo_drv_lib
  • trunk/src/VBox/Additions/x11/vboxvideo/edid.c

    r69058 r69075  
    3737 */
    3838
    39 #include <misc.h>
    40 #include <xf86DDC.h>
    41 #include <xf86Crtc.h>
     39#include "misc.h"
     40#include "xf86DDC.h"
     41#include "xf86Crtc.h"
    4242#include "vboxvideo.h"
    4343
  • trunk/src/VBox/Additions/x11/vboxvideo/pointer.c

    r69066 r69075  
    2929
    3030#ifndef PCIACCESS
    31 # include <xf86Pci.h>
     31# include "xf86Pci.h"
    3232# include <Pci.h>
    3333#endif
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r69066 r69075  
    7474/* For setting the root window property. */
    7575#include "property.h"
    76 #include "X11/Xatom.h"
     76#include <X11/Xatom.h>
    7777
    7878#ifdef XORG_7X
     
    491491{ RT_NOREF(output, mode, adjusted_mode); }
    492492
    493 /* A virtual monitor is always connected. */
    494493static xf86OutputStatus
    495494vbox_output_detect (xf86OutputPtr output)
     
    752751    }
    753752
    754     TRACE_LOG("returning %s\n", BOOL_STR(pScrn != NULL));
     753    TRACE_LOG("returning %s\n", pScrn == NULL ? "false" : "true");
    755754    return (pScrn != NULL);
    756755}
     
    10851084    TRACE_ENTRY();
    10861085
    1087     /* Initialise our guest library if possible: ignore failure. */
    1088     VbglR3Init();
    10891086    if (!VBOXMapVidMem(pScrn))
    10901087        return (FALSE);
     
    13411338    ret = pScreen->CloseScreen(pScreen);
    13421339#endif
    1343     VbglR3Term();
    13441340    return ret;
    13451341}
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h

    r69065 r69075  
    9393    vbvxAbortServer(); \
    9494}
    95 
    96 #define BOOL_STR(a) ((a) ? "TRUE" : "FALSE")
    9795
    9896#include <VBoxVideoVBE.h>
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