diff options
author | Brian Paul <[email protected]> | 2002-06-29 19:48:15 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-29 19:48:15 +0000 |
commit | 4e9676fb13f60ecdbc247b120031f18cd3febcb0 (patch) | |
tree | 9f310d4b547592b025b5a7063aaf2b629bef6676 /src/mesa/main/enums.c | |
parent | f1ad551604122dd2679dbd31ae6b2fa1197e9848 (diff) |
Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
Diffstat (limited to 'src/mesa/main/enums.c')
-rw-r--r-- | src/mesa/main/enums.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c index 9d5a567742a..93abf2ab5f8 100644 --- a/src/mesa/main/enums.c +++ b/src/mesa/main/enums.c @@ -1,4 +1,4 @@ -/* $Id: enums.c,v 1.20 2001/06/08 20:10:55 brianp Exp $ */ +/* $Id: enums.c,v 1.21 2002/06/29 19:48:15 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -33,6 +33,7 @@ #else #include "glheader.h" #include "enums.h" +#include "imports.h" #include "mem.h" #endif @@ -928,7 +929,7 @@ const char *_mesa_lookup_enum_by_nr( int nr ) } else { /* this isn't re-entrant safe, no big deal here */ - sprintf(token_tmp, "0x%x", nr); + _mesa_sprintf(NULL, token_tmp, "0x%x", nr); return token_tmp; } } |