aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenchan@chromium.org <benchan@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-03-30 05:01:50 +0000
committerbenchan@chromium.org <benchan@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-03-30 05:01:50 +0000
commita5477bbfab33db091086484dee8f3be02d9cf585 (patch)
treec07701f09fc3d789d2b1cdf1eb72501cc9b8a286
parentUnregister waits when a client shuts down so that no further callback events can (diff)
downloadbreakpad-a5477bbfab33db091086484dee8f3be02d9cf585.tar.xz
Fix class/struct mismatches in forward declarations.
This patch fixes some compiler warnings when compiling with clang. BUG=none TEST=Compile with clang and run unit tests. Review URL: https://breakpad.appspot.com/368001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@937 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/google_breakpad/processor/minidump_processor.h2
-rw-r--r--src/google_breakpad/processor/source_line_resolver_interface.h2
-rw-r--r--src/google_breakpad/processor/stack_frame_cpu.h2
-rw-r--r--src/google_breakpad/processor/stackwalker.h2
-rw-r--r--src/google_breakpad/processor/symbol_supplier.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/google_breakpad/processor/minidump_processor.h b/src/google_breakpad/processor/minidump_processor.h
index 384c60c1..3ed0ebff 100644
--- a/src/google_breakpad/processor/minidump_processor.h
+++ b/src/google_breakpad/processor/minidump_processor.h
@@ -42,7 +42,7 @@ class Minidump;
class ProcessState;
class SourceLineResolverInterface;
class SymbolSupplier;
-class SystemInfo;
+struct SystemInfo;
// Return type for Process()
enum ProcessResult {
PROCESS_OK, // The minidump was
diff --git a/src/google_breakpad/processor/source_line_resolver_interface.h b/src/google_breakpad/processor/source_line_resolver_interface.h
index 103f979e..9fe7ef4e 100644
--- a/src/google_breakpad/processor/source_line_resolver_interface.h
+++ b/src/google_breakpad/processor/source_line_resolver_interface.h
@@ -44,7 +44,7 @@ using std::string;
struct StackFrame;
struct WindowsFrameInfo;
-struct CFIFrameInfo;
+class CFIFrameInfo;
class SourceLineResolverInterface {
public:
diff --git a/src/google_breakpad/processor/stack_frame_cpu.h b/src/google_breakpad/processor/stack_frame_cpu.h
index 805b6bc3..cc6b0149 100644
--- a/src/google_breakpad/processor/stack_frame_cpu.h
+++ b/src/google_breakpad/processor/stack_frame_cpu.h
@@ -47,7 +47,7 @@
namespace google_breakpad {
struct WindowsFrameInfo;
-struct CFIFrameInfo;
+class CFIFrameInfo;
struct StackFrameX86 : public StackFrame {
// ContextValidity has one entry for each relevant hardware pointer
diff --git a/src/google_breakpad/processor/stackwalker.h b/src/google_breakpad/processor/stackwalker.h
index 614e31b5..b184d025 100644
--- a/src/google_breakpad/processor/stackwalker.h
+++ b/src/google_breakpad/processor/stackwalker.h
@@ -54,7 +54,7 @@ class MinidumpContext;
class SourceLineResolverInterface;
struct StackFrame;
class SymbolSupplier;
-class SystemInfo;
+struct SystemInfo;
using std::set;
diff --git a/src/google_breakpad/processor/symbol_supplier.h b/src/google_breakpad/processor/symbol_supplier.h
index 26f5d7fa..8c4d7f71 100644
--- a/src/google_breakpad/processor/symbol_supplier.h
+++ b/src/google_breakpad/processor/symbol_supplier.h
@@ -39,7 +39,7 @@ namespace google_breakpad {
using std::string;
class CodeModule;
-class SystemInfo;
+struct SystemInfo;
class SymbolSupplier {
public: