Index: base/posix/safe_strerror.h |
diff --git a/base/safe_strerror_posix.h b/base/posix/safe_strerror.h |
similarity index 90% |
rename from base/safe_strerror_posix.h |
rename to base/posix/safe_strerror.h |
index 2f77d84a1b96df127c867ff7bcd3d31bcdc0081a..862a75066ccf1b7ee5b2f96966a23c2fa42ba448 100644 |
--- a/base/safe_strerror_posix.h |
+++ b/base/posix/safe_strerror.h |
@@ -2,13 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef BASE_SAFE_STRERROR_POSIX_H_ |
-#define BASE_SAFE_STRERROR_POSIX_H_ |
+#ifndef BASE_POSIX_SAFE_STRERROR_H_ |
+#define BASE_POSIX_SAFE_STRERROR_H_ |
#include <string> |
#include "base/base_export.h" |
+namespace base { |
+ |
// BEFORE using anything from this file, first look at PLOG and friends in |
// logging.h and use them instead if applicable. |
// |
@@ -35,4 +37,6 @@ BASE_EXPORT void safe_strerror_r(int err, char *buf, size_t len); |
// allocate a string. |
BASE_EXPORT std::string safe_strerror(int err); |
-#endif // BASE_SAFE_STRERROR_POSIX_H_ |
+} // namespace base |
+ |
+#endif // BASE_POSIX_SAFE_STRERROR_H_ |