make a few static function non-static for highpc.c
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user