From: Max Kellermann Date: Fri, 25 Oct 2024 05:08:00 +0000 (+0200) Subject: include/types.h, tools/cephfs: remove _BACKWARD_BACKWARD_WARNING_H X-Git-Tag: v20.0.0~317^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8bb28efcbdde26eddc46b93e860782a22342c9f5;p=ceph.git 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 --- diff --git a/src/include/types.h b/src/include/types.h index bc2cdb52e71..2d032d7dbc7 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 b9f66360d66..9393ef9d975 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"