Index: sandbox/linux/services/namespace_utils.h |
diff --git a/sandbox/linux/services/namespace_utils.h b/sandbox/linux/services/namespace_utils.h |
index d248d9502f358992dab1a2a455dc89897311294e..cf58ee8f6fde7fdec3bcdb774368e06d01d417e9 100644 |
--- a/sandbox/linux/services/namespace_utils.h |
+++ b/sandbox/linux/services/namespace_utils.h |
@@ -7,6 +7,7 @@ |
#include <sys/types.h> |
+#include "base/compiler_specific.h" |
#include "base/macros.h" |
#include "base/template_util.h" |
#include "sandbox/sandbox_export.h" |
@@ -21,7 +22,8 @@ class SANDBOX_EXPORT NamespaceUtils { |
typedef uid_t generic_id_t; |
// Write a uid or gid mapping from |id| to |id| in |map_file|. |
- static bool WriteToIdMapFile(const char* map_file, generic_id_t id); |
+ static bool WriteToIdMapFile(const char* map_file, |
+ generic_id_t id) WARN_UNUSED_RESULT; |
// Returns true if unprivileged namespaces of type |type| is supported |
// (meaning that both CLONE_NEWUSER and type are are supported). |type| must |