From a8fa009fbe5d5d4d9cfa134d5ecd05c92290a8eb Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Thu, 18 Sep 2014 16:25:44 +0100 Subject: [PATCH] include/util.h: prevent multiple inclusion of header Signed-off-by: Joao Eduardo Luis (cherry picked from commit 76eff9503493312cb97e4a2f9236f4dbcbf931df) --- src/include/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/util.h b/src/include/util.h index b30132e4c535..a08bb459e4a8 100644 --- a/src/include/util.h +++ b/src/include/util.h @@ -10,6 +10,8 @@ * License version 2.1, as published by the Free Software * Foundation. See file COPYING. */ +#ifndef CEPH_UTIL_H +#define CEPH_UTIL_H // is buf~len completely zero (in 8-byte chunks) @@ -18,3 +20,4 @@ bool buf_is_zero(const char *buf, size_t len); int64_t unit_to_bytesize(string val, ostream *pss); +#endif /* CEPH_UTIL_H */ -- 2.47.3