From: Daniel Borca Date: Wed, 15 Dec 2004 07:55:38 +0000 (+0000) Subject: added DMesaProc type to prevent gcc 3.4.3 warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b563fd4c540d23d16c6b0784a6bf25f5a0701d0;p=mesa.git added DMesaProc type to prevent gcc 3.4.3 warnings --- 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.