From: Joao Eduardo Luis Date: Thu, 18 Sep 2014 15:25:44 +0000 (+0100) Subject: include/util.h: prevent multiple inclusion of header X-Git-Tag: v0.80.8~33^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a8fa009fbe5d5d4d9cfa134d5ecd05c92290a8eb;p=ceph.git include/util.h: prevent multiple inclusion of header Signed-off-by: Joao Eduardo Luis (cherry picked from commit 76eff9503493312cb97e4a2f9236f4dbcbf931df) --- 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 */