make a few static function non-static for highpc.c

This commit is contained in:
Brian Paul
2002-10-15 15:36:26 +00:00
parent d2ec14c4aa
commit f7657d037e
2 changed files with 17 additions and 6 deletions
+5 -5
View File
@@ -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;
+12 -1
View File
@@ -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);