Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
libGLw
n_Use-newly-introduced-GLAPIVAR-for-variables.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File n_Use-newly-introduced-GLAPIVAR-for-variables.patch of Package libGLw
From: Egbert Eich <eich@suse.de> Date: Fri Mar 11 14:04:00 2016 +0100 Subject: [PATCH]Use newly introduced GLAPIVAR for variables Patch-mainline: never Git-commit: 7fe20b98de84fad7330cb509cb50a39a390c7314 References: bsc# Signed-off-by: Egbert Eich <eich@suse.com> GLAPI doesn't have an 'extern' in some circumstances. This way, variable declarations become definitions. Signed-off-by: Egbert Eich <eich@suse.de> --- GLwDrawA.h | 4 ++-- GLwDrawAP.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GLwDrawA.h b/GLwDrawA.h index b9711c2..db4be24 100644 --- a/GLwDrawA.h +++ b/GLwDrawA.h @@ -136,7 +136,7 @@ typedef struct _GLwMDrawingAreaClassRec *GLwMDrawingAreaWidgetClass; typedef struct _GLwMDrawingAreaRec *GLwMDrawingAreaWidget; -GLAPI WidgetClass glwMDrawingAreaWidgetClass; +GLAPIVAR WidgetClass glwMDrawingAreaWidgetClass; #else @@ -144,7 +144,7 @@ GLAPI WidgetClass glwMDrawingAreaWidgetClass; typedef struct _GLwDrawingAreaClassRec *GLwDrawingAreaWidgetClass; typedef struct _GLwDrawingAreaRec *GLwDrawingAreaWidget; -GLAPI WidgetClass glwDrawingAreaWidgetClass; +GLAPIVAR WidgetClass glwDrawingAreaWidgetClass; #endif diff --git a/GLwDrawAP.h b/GLwDrawAP.h index 4ff21b4..6d29849 100644 --- a/GLwDrawAP.h +++ b/GLwDrawAP.h @@ -59,7 +59,7 @@ typedef struct _GLwMDrawingAreaClassRec { } GLwMDrawingAreaClassRec; -GLAPI GLwMDrawingAreaClassRec glwMDrawingAreaClassRec; +GLAPIVAR GLwMDrawingAreaClassRec glwMDrawingAreaClassRec; /* XT */ @@ -70,7 +70,7 @@ typedef struct _GLwDrawingAreaClassRec { GLwDrawingAreaClassPart glwDrawingArea_class; } GLwDrawingAreaClassRec; -GLAPI GLwDrawingAreaClassRec glwDrawingAreaClassRec; +GLAPIVAR GLwDrawingAreaClassRec glwDrawingAreaClassRec; #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor