VirtualBox

Changeset 62782 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Jul 31, 2016 10:50:29 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109369
Message:

HostServices,GuestHost: warnings

Location:
trunk/src/VBox/GuestHost/OpenGL/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/chromium.h

    r55628 r62782  
    3939# define WIN32_LEAN_AND_MEAN
    4040# define WGL_APIENTRY __stdcall
    41 # include <windows.h>
     41# ifdef VBOX
     42#  include <iprt/win/windows.h>
     43# else
     44#  include <windows.h>
     45# endif
    4246#elif defined(DARWIN)
    4347/* nothing */
     
    434438#endif
    435439
    436 typedef void (*CR_GLXFuncPtr)();
     440typedef void (*CR_GLXFuncPtr)(void);
    437441#ifndef GLX_ARB_get_proc_address
    438442#define GLX_ARB_get_proc_address 1
     
    796800extern void APIENTRY crVBoxTexPresent(GLuint texture, GLuint cfg, GLint xPos, GLint yPos, GLint cRects, const GLint *pRects);
    797801
    798 typedef int (CR_APIENTRY *CR_PROC)();
     802typedef int (CR_APIENTRY *CR_PROC)(void);
    799803CR_PROC APIENTRY crGetProcAddress( const char *name );
    800804
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_dll.h

    r15532 r62782  
    1010#if defined(WINDOWS)
    1111#define WIN32_LEAN_AND_MEAN
     12# ifdef VBOX
     13#  include <iprt/win/windows.h>
     14# else
    1215#include <windows.h>
     16# endif
    1317#endif
    1418
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_glstate.h

    r55798 r62782  
    208208DECLEXPORT(void) crStateInit(void);
    209209DECLEXPORT(void) crStateDestroy(void);
    210 DECLEXPORT(void) crStateVBoxDetachThread();
    211 DECLEXPORT(void) crStateVBoxAttachThread();
     210DECLEXPORT(void) crStateVBoxDetachThread(void);
     211DECLEXPORT(void) crStateVBoxAttachThread(void);
    212212DECLEXPORT(CRContext *) crStateCreateContext(const CRLimitsState *limits, GLint visBits, CRContext *share);
    213213DECLEXPORT(CRContext *) crStateCreateContextEx(const CRLimitsState *limits, GLint visBits, CRContext *share, GLint presetID);
    214214DECLEXPORT(void) crStateMakeCurrent(CRContext *ctx);
    215215DECLEXPORT(void) crStateSetCurrent(CRContext *ctx);
    216 DECLEXPORT(void) crStateCleanupCurrent();
     216DECLEXPORT(void) crStateCleanupCurrent(void);
    217217DECLEXPORT(CRContext *) crStateGetCurrent(void);
    218218DECLEXPORT(void) crStateDestroyContext(CRContext *ctx);
     
    223223
    224224void crStateSyncHWErrorState(CRContext *ctx);
    225 GLenum crStateCleanHWErrorState();
     225GLenum crStateCleanHWErrorState(void);
    226226
    227227#define CR_STATE_CLEAN_HW_ERR_WARN(_s) do {\
     
    296296DECLEXPORT(int32_t) crStateSaveGlobals(PSSMHANDLE pSSM);
    297297
    298 DECLEXPORT(CRSharedState *) crStateGlobalSharedAcquire();
    299 DECLEXPORT(void) crStateGlobalSharedRelease();
     298DECLEXPORT(CRSharedState *) crStateGlobalSharedAcquire(void);
     299DECLEXPORT(void) crStateGlobalSharedRelease(void);
    300300#endif
    301301
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h

    r55832 r62782  
    4444#define CR_MAX_CLIENTS 64
    4545
    46 /*@todo must match MaxGuestMonitors from SchemaDefs.h*/
     46/** @todo must match MaxGuestMonitors from SchemaDefs.h*/
    4747#define CR_MAX_GUEST_MONITORS VBOX_VIDEO_MAX_SCREENS
    4848
Note: See TracChangeset for help on using the changeset viewer.

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