VirtualBox

Changeset 32498 in vbox


Ignore:
Timestamp:
Sep 15, 2010 7:45:59 AM (14 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL: gcc warning

Location:
trunk/src/VBox/GuestHost/OpenGL
Files:
2 edited

Legend:

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

    r15709 r32498  
    2727DECLEXPORT(void) crEnableWarnings(int onOff);
    2828
    29 DECLEXPORT(void) crDebug( char *format, ... ) PRINTF;
    30 DECLEXPORT(void) crWarning( char *format, ... ) PRINTF;
    31 DECLEXPORT(void) crInfo( char *format, ... ) PRINTF;
     29DECLEXPORT(void) crDebug(const char *format, ... ) PRINTF;
     30DECLEXPORT(void) crWarning(const char *format, ... ) PRINTF;
     31DECLEXPORT(void) crInfo(const char *format, ... ) PRINTF;
    3232
    33 DECLEXPORT(void) crError( char *format, ... ) NORETURN_PRINTF;
     33DECLEXPORT(void) crError(const char *format, ... ) NORETURN_PRINTF;
    3434
    3535/* Throw more info while opengl is not stable */
  • trunk/src/VBox/GuestHost/OpenGL/util/error.c

    r32420 r32498  
    129129
    130130
    131 DECLEXPORT(void) crError( char *format, ... )
     131DECLEXPORT(void) crError(const char *format, ... )
    132132{
    133133    va_list args;
     
    218218}
    219219
    220 DECLEXPORT(void) crWarning( char *format, ... )
     220DECLEXPORT(void) crWarning(const char *format, ... )
    221221{
    222222    if (warnings_enabled) {
     
    247247}
    248248
    249 DECLEXPORT(void) crInfo( char *format, ... )
     249DECLEXPORT(void) crInfo(const char *format, ... )
    250250{
    251251    va_list args;
     
    270270}
    271271
    272 DECLEXPORT(void) crDebug( char *format, ... )
     272DECLEXPORT(void) crDebug(const char *format, ... )
    273273{
    274274    va_list args;
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