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;
|
||||
|
||||
@ -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;
|
||||
|
||||
|
@ -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