[Title] minor patch : removed the prevent defect
authorHaegeun Park <haegeun.park@samsung.com>
Thu, 31 Jan 2013 06:59:05 +0000 (22:59 -0800)
committerHaegeun Park <haegeun.park@samsung.com>
Thu, 31 Jan 2013 06:59:05 +0000 (22:59 -0800)
[Issue#]
[Problem]
[Cause]
[Solution]

src/wraps/coregl_gl.c

index 92426a3..f778cb3 100644 (file)
 
 #define INIT_EXPORT()
 
+void *lib_handle = NULL;
+
 __attribute__((constructor))
 int
 coregl_glwrap_init()
 {
-       void *lib_handle = NULL;
-
        lib_handle = dlopen("libCOREGL.so", RTLD_NOW);
        if (!lib_handle)
        {