diff options
author | Kenneth Graunke <[email protected]> | 2010-02-18 23:50:58 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 09:18:13 -0500 |
commit | 60b0cae412029e53654f38d0de151908f1feb310 (patch) | |
tree | 77f8d023f40f49603586070ab80c599e95efc906 /src/mesa/main/imports.c | |
parent | 9d9afe9393fde99858ddf40e478bc16cf44e60dc (diff) |
Remove _mesa_atoi in favor of plain atoi.
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 4c5e99fbbeb..2a0952c7afc 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -860,13 +860,6 @@ _mesa_strdup( const char *s ) } } -/** Wrapper around atoi() */ -int -_mesa_atoi(const char *s) -{ - return atoi(s); -} - /** Wrapper around strtod() */ double _mesa_strtod( const char *s, char **end ) @@ -982,7 +975,7 @@ output_if_debug(const char *prefixString, const char *outputString, * set *to any value*. */ #ifdef DEBUG - debug = (env != NULL && _mesa_atoi(env) == 0) ? 0 : 1; + debug = (env != NULL && atoi(env) == 0) ? 0 : 1; #else debug = (env != NULL) ? 1 : 0; #endif |