From 8f2b058398bb5b0f658320a62ffd82a7ebc82a16 Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Thu, 11 Aug 2011 13:40:13 +0000 Subject: Fix clang warnings. Review URL: http://breakpad.appspot.com/298002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@823 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/mac/crash_generation/Inspector.h | 2 +- src/client/mac/crash_generation/Inspector.mm | 2 +- src/client/mac/handler/minidump_generator.cc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/mac') diff --git a/src/client/mac/crash_generation/Inspector.h b/src/client/mac/crash_generation/Inspector.h index 59cb2cdf..9d93b2a7 100644 --- a/src/client/mac/crash_generation/Inspector.h +++ b/src/client/mac/crash_generation/Inspector.h @@ -78,7 +78,7 @@ using google_breakpad::MinidumpGenerator; namespace google_breakpad { -static BOOL EnsureDirectoryPathExists(NSString *dirPath); +BOOL EnsureDirectoryPathExists(NSString *dirPath); //============================================================================= class ConfigFile { diff --git a/src/client/mac/crash_generation/Inspector.mm b/src/client/mac/crash_generation/Inspector.mm index a8930858..1b0b97cb 100644 --- a/src/client/mac/crash_generation/Inspector.mm +++ b/src/client/mac/crash_generation/Inspector.mm @@ -57,7 +57,7 @@ namespace google_breakpad { //============================================================================= -static BOOL EnsureDirectoryPathExists(NSString *dirPath) { +BOOL EnsureDirectoryPathExists(NSString *dirPath) { NSFileManager *mgr = [NSFileManager defaultManager]; // If we got a relative path, prepend the current directory diff --git a/src/client/mac/handler/minidump_generator.cc b/src/client/mac/handler/minidump_generator.cc index a4ca804c..daf4c03c 100644 --- a/src/client/mac/handler/minidump_generator.cc +++ b/src/client/mac/handler/minidump_generator.cc @@ -620,7 +620,7 @@ bool MinidumpGenerator::WriteContextX86(breakpad_thread_state_data_t state, AddReg(eflags); AddReg(eip); -#undef AddReg(a) +#undef AddReg return true; } @@ -666,7 +666,7 @@ bool MinidumpGenerator::WriteContextX86_64( AddReg(cs); AddReg(fs); AddReg(gs); -#undef AddReg(a) +#undef AddReg return true; } -- cgit v1.2.1