summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-01-14 03:05:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-01-14 03:05:38 +0000
commite1e446bf775a7f2ea93b4e54c7748ef603500977 (patch)
tree8f96150b031985ae8ad1d5aa3e0662f208df30fc /src/mesa
parent44257dacc0d5e2032b2d5eb6a6b35127c0f77a76 (diff)
remove const from _mesa_strtof()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/imports.c6
-rw-r--r--src/mesa/main/imports.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 4123545ee0..bb836dd832 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -1,4 +1,4 @@
-/* $Id: imports.c,v 1.28 2003/01/14 03:02:13 brianp Exp $ */
+/* $Id: imports.c,v 1.29 2003/01/14 03:05:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -379,12 +379,12 @@ _mesa_atoi(const char *s)
float
-_mesa_strtof( const char *s, const char **end )
+_mesa_strtof( const char *s, char **end )
{
#if defined(XFree86LOADER) && defined(IN_MODULE)
return xf86strtof(s, end);
#else
- return strtod(s, end);
+ return (float) strtod(s, end);
#endif
}
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 85834cbe78..405b4990b4 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -1,4 +1,4 @@
-/* $Id: imports.h,v 1.10 2003/01/14 03:00:54 brianp Exp $ */
+/* $Id: imports.h,v 1.11 2003/01/14 03:05:38 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -174,7 +174,7 @@ extern int
_mesa_atoi( const char *s );
extern float
-_mesa_strtof( const char *s, const char **end );
+_mesa_strtof( const char *s, char **end );
extern int
_mesa_sprintf( char *str, const char *fmt, ... );