projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Header file clean-up:
[mesa.git]
/
src
/
mesa
/
main
/
enums.c
diff --git
a/src/mesa/main/enums.c
b/src/mesa/main/enums.c
index 93abf2ab5f89d6993f3d7e93ff1917d8261822bd..f7a3e439ab86413940a477bdd220e4c213d32537 100644
(file)
--- a/
src/mesa/main/enums.c
+++ b/
src/mesa/main/enums.c
@@
-1,4
+1,4
@@
-/* $Id: enums.c,v 1.2
1 2002/06/29 19:48:15
brianp Exp $ */
+/* $Id: enums.c,v 1.2
2 2002/10/24 23:57:20
brianp Exp $ */
/*
* Mesa 3-D graphics library
/*
* Mesa 3-D graphics library
@@
-28,14
+28,9
@@
*/
*/
-#ifdef PC_HEADER
-#include "all.h"
-#else
#include "glheader.h"
#include "enums.h"
#include "imports.h"
#include "glheader.h"
#include "enums.h"
#include "imports.h"
-#include "mem.h"
-#endif
typedef struct {
typedef struct {
@@
-929,7
+924,7
@@
const char *_mesa_lookup_enum_by_nr( int nr )
}
else {
/* this isn't re-entrant safe, no big deal here */
}
else {
/* this isn't re-entrant safe, no big deal here */
- _mesa_sprintf(
NULL,
token_tmp, "0x%x", nr);
+ _mesa_sprintf(token_tmp, "0x%x", nr);
return token_tmp;
}
}
return token_tmp;
}
}