aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-10-25 21:06:26 +0000
committerBrian Paul <[email protected]>2002-10-25 21:06:26 +0000
commit367d308b8267ad86cd7623590b7bfd4737b5fbf5 (patch)
tree0ff79c1667eb62f514e6ac5acd4211927256fb88 /src/mesa/main/imports.h
parente781aec85d30182eea1b6dab5fb9dd06594f5671 (diff)
wrapped a few more C library functions
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r--src/mesa/main/imports.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 4054ed0c941..463b9cafb9c 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -1,4 +1,4 @@
-/* $Id: imports.h,v 1.6 2002/10/24 23:57:21 brianp Exp $ */
+/* $Id: imports.h,v 1.7 2002/10/25 21:06:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -127,12 +127,43 @@ extern void
_mesa_bzero( void *dst, size_t n );
+extern double
+_mesa_sin(double a);
+
+extern double
+_mesa_cos(double a);
+
+extern double
+_mesa_sqrt(double x);
+
+extern double
+_mesa_pow(double x, double y);
+
+
extern char *
_mesa_getenv( const char *var );
extern char *
_mesa_strstr( const char *haystack, const char *needle );
+extern char *
+_mesa_strncat( char *dest, const char *src, size_t n );
+
+extern char *
+_mesa_strcpy( char *dest, const char *src );
+
+extern char *
+_mesa_strncpy( char *dest, const char *src, size_t n );
+
+extern size_t
+_mesa_strlen( const char *s );
+
+extern int
+_mesa_strcmp( const char *s1, const char *s2 );
+
+extern int
+_mesa_strncmp( const char *s1, const char *s2, size_t n );
+
extern int
_mesa_atoi( const char *s );