diff options
author | Brian Paul <[email protected]> | 2002-10-15 15:36:26 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-15 15:36:26 +0000 |
commit | f7657d037eb262ee6437d7714f709026f2ecea85 (patch) | |
tree | 2f2f20433f42130de98a8af289107ff0685de70d | |
parent | d2ec14c4aacebd68a9918a9c2f280fa60eee8ebe (diff) |
make a few static function non-static for highpc.c
-rw-r--r-- | src/mesa/main/imports.c | 10 | ||||
-rw-r--r-- | src/mesa/main/imports.h | 13 |
2 files changed, 17 insertions, 6 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index c3783c624b9..290df64cf1e 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.19 2002/10/14 17:08:21 brianp Exp $ */ +/* $Id: imports.c,v 1.20 2002/10/15 15:36:26 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -80,7 +80,7 @@ _mesa_Free(__GLcontext *gc, void *addr) /* Must be before '#undef getenv' for inclusion in XFree86. */ -static char * CAPI +char * CAPI _mesa_getenv(__GLcontext *gc, const char *var) { (void) gc; @@ -139,21 +139,21 @@ _mesa_sprintf(__GLcontext *gc, char *str, const char *fmt, ...) } -static void * CAPI +void * CAPI _mesa_fopen(__GLcontext *gc, const char *path, const char *mode) { return fopen(path, mode); } -static int CAPI +int CAPI _mesa_fclose(__GLcontext *gc, void *stream) { return fclose((FILE *) stream); } -static int CAPI +int CAPI _mesa_fprintf(__GLcontext *gc, void *stream, const char *fmt, ...) { int r; diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 2a19ff81d1a..9363c4163e1 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,4 +1,4 @@ -/* $Id: imports.h,v 1.4 2002/06/29 19:48:16 brianp Exp $ */ +/* $Id: imports.h,v 1.5 2002/10/15 15:36:26 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -53,6 +53,17 @@ _mesa_debug( const __GLcontext *ctx, const char *fmtString, ... ); extern void _mesa_printf( const __GLcontext *ctx, const char *fmtString, ... ); +extern int CAPI +_mesa_fprintf(__GLcontext *gc, void *stream, const char *fmt, ...); + +extern void * CAPI +_mesa_fopen(__GLcontext *gc, const char *path, const char *mode); + +extern int CAPI +_mesa_fclose(__GLcontext *gc, void *stream); + +extern char * CAPI +_mesa_getenv(__GLcontext *gc, const char *var); extern void _mesa_init_default_imports(__GLimports *imports, void *driverCtx); |