From 76eff9503493312cb97e4a2f9236f4dbcbf931df 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 --- src/include/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/util.h b/src/include/util.h index b30132e4c5356..a08bb459e4a84 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.39.5