From 8b563fd4c540d23d16c6b0784a6bf25f5a0701d0 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Wed, 15 Dec 2004 07:55:38 +0000 Subject: [PATCH] added DMesaProc type to prevent gcc 3.4.3 warnings --- include/GL/dmesa.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/GL/dmesa.h b/include/GL/dmesa.h index 795853bceb5..e67b3426f93 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. -- 2.30.2