Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
pacemaker.21356
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--1.1.patch of Package pacemaker.21356
From b3875680199d116ddfd5ad2c4dac2c8f984866ae 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(-) diff --git a/attrd/internal.h b/attrd/internal.h index e57406002..b6da14c20 100644 --- a/attrd/internal.h +++ b/attrd/internal.h @@ -1,5 +1,7 @@ /* - * Copyright (C) 2013-2017 Andrew Beekhof <andrew@beekhof.net> + * Copyright 2013-2020 the Pacemaker project contributors + * + * The version control history for this file may have further details. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -59,8 +61,8 @@ typedef struct attribute_value_s { gboolean seen; } attribute_value_t; -crm_cluster_t *attrd_cluster; -GHashTable *attributes; +extern crm_cluster_t *attrd_cluster; +extern GHashTable *attributes; #define attrd_send_ack(client, id, flags) \ crm_ipcs_send_ack((client), (id), (flags), "ack", __FUNCTION__, __LINE__) -- 2.26.1
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