GLX: Make sure the types match for ALIAS in indirect_reqsize.c

(cherry picked from commit 31a20a573b)
This commit is contained in:
Jeremy Huddleston 2009-06-06 22:17:44 -07:00
parent 077556ec39
commit 07c5941181

View File

@ -39,12 +39,12 @@
#endif
#ifdef HAVE_ALIAS
# define ALIAS2(from,to) \
GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
int __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
__attribute__ ((alias( # to )));
# define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize )
#else
# define ALIAS(from,to) \
GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
int __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
{ return __glX ## to ## ReqSize( pc, swap ); }
#endif