glw: Mark all extern symbols GLAPI to regain default visibility (#31294)
authorDan Nicholson <dbn.lists@gmail.com>
Thu, 16 Jun 2011 23:32:42 +0000 (16:32 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Mon, 20 Jun 2011 19:31:01 +0000 (12:31 -0700)
commit4e5c51a05e70c215b284a38fc35850b485bbee8d
tree7c84b273c1eb5cb11c74aa710e7e46cf906e6cb0
parentf6e5230b2614cc91e4c849c07781b2230878d274
glw: Mark all extern symbols GLAPI to regain default visibility (#31294)

Since switching to hidden visibility on gcc, GLw apps were failing to
link. Use the GLAPI definition to use default visibility where necessary.

$ nm lib/libGLw.so | grep DrawingArea
0000000000004020 T GLwCreateMDrawingArea
0000000000003430 T GLwDrawingAreaMakeCurrent
0000000000003410 T GLwDrawingAreaSwapBuffers
0000000000204c60 D glwDrawingAreaClassRec
0000000000204d48 D glwDrawingAreaWidgetClass
00000000002053c0 D glwMDrawingAreaClassRec
00000000002054e0 D glwMDrawingAreaWidgetClass

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: justin <jlec@gentoo.org>
src/glw/GLwDrawA.h
src/glw/GLwDrawAP.h