summaryrefslogtreecommitdiffstats
path: root/base/safe_strerror_posix.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
commit0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch)
treeeb16c01ad0143fad583cd60a87828fd90c94f61a /base/safe_strerror_posix.h
parent93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff)
downloadchromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2
Rename BASE_API to BASE_EXPORT.
R=rvargas Review URL: http://codereview.chromium.org/7461141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/safe_strerror_posix.h')
-rw-r--r--base/safe_strerror_posix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/safe_strerror_posix.h b/base/safe_strerror_posix.h
index e72c836..60fdec3 100644
--- a/base/safe_strerror_posix.h
+++ b/base/safe_strerror_posix.h
@@ -8,7 +8,7 @@
#include <string>
-#include "base/base_api.h"
+#include "base/base_export.h"
// BEFORE using anything from this file, first look at PLOG and friends in
// logging.h and use them instead if applicable.
@@ -26,7 +26,7 @@
// result is always null-terminated. The value of errno is never changed.
//
// Use this instead of strerror_r().
-BASE_API void safe_strerror_r(int err, char *buf, size_t len);
+BASE_EXPORT void safe_strerror_r(int err, char *buf, size_t len);
// Calls safe_strerror_r with a buffer of suitable size and returns the result
// in a C++ string.
@@ -34,6 +34,6 @@ BASE_API void safe_strerror_r(int err, char *buf, size_t len);
// Use this instead of strerror(). Note though that safe_strerror_r will be
// more robust in the case of heap corruption errors, since it doesn't need to
// allocate a string.
-BASE_API std::string safe_strerror(int err);
+BASE_EXPORT std::string safe_strerror(int err);
#endif // BASE_SAFE_STRERROR_POSIX_H_