Reduce warnings noise/signal a bit under gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37785 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2c6ebfaaea
commit
a67d485cf3
@ -29,7 +29,7 @@ __glutStrdup(const char *string)
|
||||
}
|
||||
|
||||
void
|
||||
__glutWarning(char *format,...)
|
||||
__glutWarning(const char *format,...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
@ -42,7 +42,7 @@ __glutWarning(char *format,...)
|
||||
}
|
||||
|
||||
/* CENTRY */
|
||||
void APIENTRY
|
||||
void APIENTRY
|
||||
glutReportErrors(void)
|
||||
{
|
||||
GLenum error;
|
||||
@ -53,7 +53,7 @@ glutReportErrors(void)
|
||||
/* ENDCENTRY */
|
||||
|
||||
void
|
||||
__glutFatalError(char *format,...)
|
||||
__glutFatalError(const char *format,...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
@ -67,7 +67,7 @@ __glutFatalError(char *format,...)
|
||||
}
|
||||
|
||||
void
|
||||
__glutFatalUsage(char *format,...)
|
||||
__glutFatalUsage(const char *format,...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
/* Copyright (c) Mark J. Kilgard, 1994, 1997, 1998. */
|
||||
|
||||
/* This program is freely distributable without licensing fees
|
||||
and is provided without guarantee or warrantee expressed or
|
||||
/* This program is freely distributable without licensing fees
|
||||
and is provided without guarantee or warrantee expressed or
|
||||
implied. This program is -not- in the public domain. */
|
||||
|
||||
#if defined(__CYGWIN32__)
|
||||
@ -169,7 +169,7 @@ extern int sys$gettim(struct timeval *);
|
||||
#define XSTATICGRAY (NUM_GLXCAPS + 3) /* Used as
|
||||
mask bit
|
||||
for "any
|
||||
visual type
|
||||
visual type
|
||||
selected". */
|
||||
#define XGRAYSCALE (NUM_GLXCAPS + 4)
|
||||
#define XSTATICCOLOR (NUM_GLXCAPS + 5)
|
||||
@ -734,9 +734,9 @@ extern "C" {
|
||||
#endif
|
||||
/* private routines from glut_util.c */
|
||||
extern char * __glutStrdup(const char *string);
|
||||
extern void __glutWarning(char *format,...);
|
||||
extern void __glutFatalError(char *format,...);
|
||||
extern void __glutFatalUsage(char *format,...);
|
||||
extern void __glutWarning(const char *format,...);
|
||||
extern void __glutFatalError(const char *format,...);
|
||||
extern void __glutFatalUsage(const char *format,...);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user