added DMesaProc type to prevent gcc 3.4.3 warnings
authorDaniel Borca <dborca@users.sourceforge.net>
Wed, 15 Dec 2004 07:55:38 +0000 (07:55 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Wed, 15 Dec 2004 07:55:38 +0000 (07:55 +0000)
include/GL/dmesa.h

index 795853b..e67b342 100644 (file)
@@ -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.