Skip to content

Commit 8bb28ef

Browse files
committed
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 <[email protected]>
1 parent f082317 commit 8bb28ef

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/include/types.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
#include "ceph_frag.h"
2929
#include "rbd_types.h"
3030

31-
#ifdef __cplusplus
32-
#ifndef _BACKWARD_BACKWARD_WARNING_H
33-
#define _BACKWARD_BACKWARD_WARNING_H // make gcc 4.3 shut up about hash_*
34-
#endif
35-
#endif
36-
3731
extern "C" {
3832
#include <stdint.h>
3933
#include <sys/types.h>

src/tools/cephfs/Dumper.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
*
1313
*/
1414

15-
#ifndef _BACKWARD_BACKWARD_WARNING_H
16-
#define _BACKWARD_BACKWARD_WARNING_H // make gcc 4.3 shut up about hash_*
17-
#endif
18-
1915
#include "include/compat.h"
2016
#include "include/fs_types.h"
2117
#include "common/entity_name.h"

0 commit comments

Comments
 (0)