mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 09:14:58 +01:00
Limit use of default namespace in tests and utility programs (#71). r=bryner
- main is now the only thing you'll find in the default namespace. Everything else has been moved into an unnamed namespace. http://groups.google.com/group/airbag-dev/browse_thread/thread/14130a0284a0307f git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@63 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
76f052f8fb
commit
8647dde8cc
9 changed files with 78 additions and 29 deletions
|
|
@ -45,6 +45,8 @@
|
|||
#include "processor/scoped_ptr.h"
|
||||
#include "processor/simple_symbol_supplier.h"
|
||||
|
||||
namespace {
|
||||
|
||||
using std::string;
|
||||
using google_airbag::CallStack;
|
||||
using google_airbag::MinidumpModule;
|
||||
|
|
@ -218,6 +220,8 @@ static bool PrintMinidumpProcess(const string &minidump_file,
|
|||
return true;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (argc < 2 || argc > 3) {
|
||||
fprintf(stderr, "usage: %s <minidump-file> [symbol-path]\n", argv[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue