Skip to content

Commit

Permalink
swap extern use to pass compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo-stfc committed Feb 28, 2025
1 parent d9cb1ed commit e5e1569
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v5.7.2
v5.7.3
8 changes: 4 additions & 4 deletions src/XrdCeph/XrdCephOss.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ssize_t getNumericAttr(const char* const path, const char* attrName, const int m

}

FILE *g_cksLogFile;
extern FILE *g_cksLogFile;


char *ts_rfc3339() {
Expand Down Expand Up @@ -178,9 +178,9 @@ XrdCephOss::~XrdCephOss() {
extern unsigned int g_maxCephPoolIdx;
extern unsigned int g_cephAioWaitThresh;

bool g_calcStreamedAdler32;
bool g_storeStreamedAdler32;
bool g_logStreamedAdler32;
extern bool g_calcStreamedAdler32;
extern bool g_storeStreamedAdler32;
extern bool g_logStreamedAdler32;



Expand Down
10 changes: 5 additions & 5 deletions src/XrdCeph/XrdCephPosix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <sys/types.h>
#include <sys/stat.h>
#include <sys/errno.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
Expand Down Expand Up @@ -156,11 +156,11 @@ XrdSysMutex g_init_mutex;
std::map<unsigned int, unsigned long long> g_idxCntr;

//IJJ: Actions for Adler32 checksum
extern bool g_calcStreamedAdler32;
extern bool g_logStreamedAdler32;
extern bool g_storeStreamedAdler32;
bool g_calcStreamedAdler32;
bool g_logStreamedAdler32;
bool g_storeStreamedAdler32;

extern FILE *g_cksLogFile;
FILE *g_cksLogFile;

/// Accessor to next ceph pool index
/// Note that this is not thread safe, but we do not care
Expand Down
2 changes: 1 addition & 1 deletion xrootd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Name: xrootd
Epoch: 1
Release: 2%{?dist}%{?with_clang:.clang}%{?with_asan:.asan}%{?with_openssl11:.ssl11}
Release: 98%{?dist}%{?with_clang:.clang}%{?with_asan:.asan}%{?with_openssl11:.ssl11}
Summary: Extended ROOT File Server
Group: System Environment/Daemons
License: LGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND curl AND MIT AND Zlib
Expand Down

0 comments on commit e5e1569

Please sign in to comment.