From 8bb28efcbdde26eddc46b93e860782a22342c9f5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 25 Oct 2024 07:08:00 +0200 Subject: [PATCH] include/types.h, tools/cephfs: remove _BACKWARD_BACKWARD_WARNING_H This kludge has been obsolete for a long time and GCC 4.3 cannot compile Ceph anymore these days. Signed-off-by: Max Kellermann --- src/include/types.h | 6 ------ src/tools/cephfs/Dumper.cc | 4 ---- 2 files changed, 10 deletions(-) diff --git a/src/include/types.h b/src/include/types.h index bc2cdb52e717f..2d032d7dbc710 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -28,12 +28,6 @@ #include "ceph_frag.h" #include "rbd_types.h" -#ifdef __cplusplus -#ifndef _BACKWARD_BACKWARD_WARNING_H -#define _BACKWARD_BACKWARD_WARNING_H // make gcc 4.3 shut up about hash_* -#endif -#endif - extern "C" { #include #include diff --git a/src/tools/cephfs/Dumper.cc b/src/tools/cephfs/Dumper.cc index b9f66360d66d7..9393ef9d9756b 100644 --- a/src/tools/cephfs/Dumper.cc +++ b/src/tools/cephfs/Dumper.cc @@ -12,10 +12,6 @@ * */ -#ifndef _BACKWARD_BACKWARD_WARNING_H -#define _BACKWARD_BACKWARD_WARNING_H // make gcc 4.3 shut up about hash_* -#endif - #include "include/compat.h" #include "include/fs_types.h" #include "common/entity_name.h" -- 2.39.5