diff options
Diffstat (limited to 'extern/libmv/third_party/glog/src/vlog_is_on.cc')
-rw-r--r-- | extern/libmv/third_party/glog/src/vlog_is_on.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/extern/libmv/third_party/glog/src/vlog_is_on.cc b/extern/libmv/third_party/glog/src/vlog_is_on.cc index 4396aa8d066..cd7fc19bca8 100644 --- a/extern/libmv/third_party/glog/src/vlog_is_on.cc +++ b/extern/libmv/third_party/glog/src/vlog_is_on.cc @@ -40,8 +40,8 @@ #include <cstdio> #include <string> #include "base/commandlineflags.h" -#include <glog/logging.h> -#include <glog/raw_logging.h> +#include "glog/logging.h" +#include "glog/raw_logging.h" #include "base/googleinit.h" // glog doesn't have annotation @@ -62,11 +62,7 @@ _START_GOOGLE_NAMESPACE_ namespace glog_internal_namespace_ { -// Put protytype here to suppress strict compiler flags -GOOGLE_GLOG_DLL_DECL bool SafeFNMatch_(const char* pattern, - size_t patt_len, - const char* str, - size_t str_len); +namespace { // Implementation of fnmatch that does not need 0-termination // of arguments and does not allocate any memory, @@ -101,6 +97,8 @@ GOOGLE_GLOG_DLL_DECL bool SafeFNMatch_(const char* pattern, } } +} // namespace + } // namespace glog_internal_namespace_ using glog_internal_namespace_::SafeFNMatch_; |