From: John Spray Date: Wed, 1 Jun 2016 10:36:46 +0000 (+0100) Subject: msg: typedef uint8_t entity_type_t X-Git-Tag: v11.0.1~60^2~77 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d2a209f1692d8cf0e76d05cd316264bb3bdd26d3;p=ceph.git msg: typedef uint8_t entity_type_t ...rather than having a mixture of explicit __u8 and implicit enums/ints. Signed-off-by: John Spray --- diff --git a/src/msg/msg_types.h b/src/msg/msg_types.h index 3236f399d9d3..a71c95d94ff1 100644 --- a/src/msg/msg_types.h +++ b/src/msg/msg_types.h @@ -28,9 +28,11 @@ namespace ceph { extern ostream& operator<<(ostream& out, const sockaddr_storage &ss); extern ostream& operator<<(ostream& out, const sockaddr *sa); +typedef uint8_t entity_type_t; + class entity_name_t { public: - __u8 _type; + entity_type_t _type; int64_t _num; public: