diff options
author | Brian Paul <[email protected]> | 2001-07-16 15:54:23 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-07-16 15:54:23 +0000 |
commit | a1503b00f863a48a517939a42d512f9cfe77f79c (patch) | |
tree | cf8be4ed948b2e97160482c1b7cf4164b8ef9b0b /src/mesa/main/imports.c | |
parent | fba5e9546874e1e140a3862b31e35b68832cc22d (diff) |
Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 60cca8433e2..61fbf609157 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.9 2001/03/27 19:18:02 gareth Exp $ */ +/* $Id: imports.c,v 1.10 2001/07/16 15:54:23 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -71,7 +71,7 @@ _mesa_Free(__GLcontext *gc, void *addr) /* Must be before '#undef getenv' for inclusion in XFree86. */ -static char * +static char * CAPI _mesa_getenv(__GLcontext *gc, const char *var) { (void) gc; @@ -109,33 +109,33 @@ _mesa_fatal(__GLcontext *gc, char *str) abort(); } -static int +static int CAPI _mesa_atoi(__GLcontext *gc, const char *str) { (void) gc; return atoi(str); } -static int +static int CAPI _mesa_sprintf(__GLcontext *gc, char *str, const char *fmt, ...) { /* XXX fix this */ return sprintf(str, fmt); } -static void * +static void * CAPI _mesa_fopen(__GLcontext *gc, const char *path, const char *mode) { return fopen(path, mode); } -static int +static int CAPI _mesa_fclose(__GLcontext *gc, void *stream) { return fclose((FILE *) stream); } -static int +static int CAPI _mesa_fprintf(__GLcontext *gc, void *stream, const char *fmt, ...) { /* XXX fix this */ |