From 2dd5b9edaa8238c4f50f6191b3e50ba59db5ad47 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 27 Nov 2004 04:54:48 +0000 Subject: typedef GLUTproc, return it from glutGetProcAddress() --- include/GL/glut.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/GL/glut.h b/include/GL/glut.h index 7977dc94c9..c1b78aa4e5 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -664,7 +664,8 @@ GLUTAPI int GLUTAPIENTRY glutGetModifiers(void); GLUTAPI int GLUTAPIENTRY glutLayerGet(GLenum type); #endif #if (GLUT_API_VERSION >= 5) -GLUTAPI void * GLUTAPIENTRY glutGetProcAddress(const char *procName); +typedef void (*GLUTproc)(); +GLUTAPI GLUTproc GLUTAPIENTRY glutGetProcAddress(const char *procName); #endif /* GLUT font sub-API */ -- cgit v1.2.3