summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-12-15 07:55:38 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-12-15 07:55:38 +0000
commit8b563fd4c540d23d16c6b0784a6bf25f5a0701d0 (patch)
tree844f195cce656e3e8699de28b77b41db0a9f9e28
parent654dccfd856329bbb66f10d6096a206e33fa397a (diff)
added DMesaProc type to prevent gcc 3.4.3 warnings
-rw-r--r--include/GL/dmesa.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/GL/dmesa.h b/include/GL/dmesa.h
index 795853bceb..e67b3426f9 100644
--- a/include/GL/dmesa.h
+++ b/include/GL/dmesa.h
@@ -23,9 +23,9 @@
*/
/*
- * DOS/DJGPP device driver v1.6 for Mesa
+ * DOS/DJGPP device driver v1.7 for Mesa
*
- * Copyright (C) 2002 - Borca Daniel
+ * Copyright (C) 2002 - Daniel Borca
* Email : dborca@users.sourceforge.net
* Web : http://www.geocities.com/dborca
*/
@@ -138,7 +138,8 @@ void DMesaSetCI (int ndx, GLfloat red, GLfloat green, GLfloat blue);
/*
* DMesa functions
*/
-void *DMesaGetProcAddress (const char *name);
+typedef void (*DMesaProc) (void);
+DMesaProc DMesaGetProcAddress (const char *name);
/*
* DMesa state retrieval.