Skip to content

Commit 3874c48

Browse files
authored
Merge pull request ceph#60993 from MaxKellermann/types__backward_backward
include/types.h, tools/cephfs: remove _BACKWARD_BACKWARD_WARNING_H Reviewed-by: Venky Shankar <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]>
2 parents 54b4067 + 8bb28ef commit 3874c48

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
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/journal/Entry.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#include "include/encoding.h"
66
#include "include/stringify.h"
77
#include "common/Formatter.h"
8-
#include <strstream>
8+
9+
#include <sstream>
910

1011
#define dout_subsys ceph_subsys_journaler
1112
#undef dout_prefix

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)