VirtualBox

Changeset 53554 in vbox


Ignore:
Timestamp:
Dec 16, 2014 9:25:31 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97309
Message:

VBoxOGLTest.h: Strict C prototypes.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxOGLTest.h

    r52622 r53554  
    2323 * terms and conditions of either the GPL or the CDDL or both.
    2424 */
    25 #ifndef ___VBoxOGLTest_h__
    26 #define ___VBoxOGLTest_h__
     25#ifndef ___VBoxOGLTest_h
     26#define ___VBoxOGLTest_h
    2727
    2828#include <iprt/cdefs.h>
     
    3030RT_C_DECLS_BEGIN
    3131
    32 bool RTCALL VBoxOglIsOfflineRenderingAppropriate();
    33 bool RTCALL VBoxOglIs3DAccelerationSupported();
     32bool RTCALL VBoxOglIsOfflineRenderingAppropriate(void );
     33bool RTCALL VBoxOglIs3DAccelerationSupported(void);
    3434
    3535RT_C_DECLS_END
    3636
    37 #endif /*#ifndef ___VBoxOGLTest_h__*/
     37#endif /* !___VBoxOGLTest_h */
  • trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTest.cpp

    r50406 r53554  
    3030#include <VBox/VBoxOGLTest.h>
    3131
    32 bool RTCALL VBoxOglIs3DAccelerationSupported()
     32bool RTCALL VBoxOglIs3DAccelerationSupported(void)
    3333{
    3434    if (RTEnvExist("VBOX_CROGL_FORCE_SUPPORTED"))
  • trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestDarwin.cpp

    r53546 r53554  
    3434#include <VBox/VBoxOGLTest.h>
    3535
    36 bool RTCALL VBoxOglIsOfflineRenderingAppropriate()
     36bool RTCALL VBoxOglIsOfflineRenderingAppropriate(void)
    3737{
    3838    /* It is assumed that it is makes sense to enable offline rendering
     
    110110}
    111111
    112 bool RTCALL VBoxOglIs3DAccelerationSupported()
     112bool RTCALL VBoxOglIs3DAccelerationSupported(void)
    113113{
    114114    if (RTEnvExist("VBOX_CROGL_FORCE_SUPPORTED"))
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