Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
pacemaker.19404
bsc#1160410-0001-Refactor-attrd-properly-declar...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1160410-0001-Refactor-attrd-properly-declare-global-variables-as-.patch of Package pacemaker.19404
From 77a79358cc72174cbba0dd44e313f6d06d96dbf4 Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Thu, 2 Jan 2020 09:51:52 -0600 Subject: [PATCH] Refactor: attrd: properly declare global variables as extern in header Restores buildability with GCC 10 --- attrd/internal.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Index: pacemaker-1.1.18+20180430.b12c320f5/attrd/internal.h =================================================================== --- pacemaker-1.1.18+20180430.b12c320f5.orig/attrd/internal.h +++ pacemaker-1.1.18+20180430.b12c320f5/attrd/internal.h @@ -46,9 +46,9 @@ typedef struct attribute_value_s { gboolean seen; } attribute_value_t; -crm_cluster_t *attrd_cluster; -GHashTable *attributes; -election_t *writer; +extern crm_cluster_t *attrd_cluster; +extern GHashTable *attributes; +extern election_t *writer; #define attrd_send_ack(client, id, flags) \ crm_ipcs_send_ack((client), (id), (flags), "ack", __FUNCTION__, __LINE__)
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