summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-06-16 12:49:42 -0400
committerStan Cox <scox@redhat.com>2008-06-16 12:49:42 -0400
commit6643650db25f9ea5b32fe767b4f09e2b6d91a7c4 (patch)
treeda089e0cf1a937aee3452ca322802439036daa06 /session.h
parente8402528a3e3f77fa804904e875453039ed4abee (diff)
downloadsystemtap-steved-6643650db25f9ea5b32fe767b4f09e2b6d91a7c4.tar.gz
systemtap-steved-6643650db25f9ea5b32fe767b4f09e2b6d91a7c4.tar.xz
systemtap-steved-6643650db25f9ea5b32fe767b4f09e2b6d91a7c4.zip
Bug 6611: read-only variable typo warnings should list alternatives.
Diffstat (limited to 'session.h')
-rw-r--r--session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.h b/session.h
index 2b6ac79d..6ae44fe2 100644
--- a/session.h
+++ b/session.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-// Copyright (C) 2005-2007 Red Hat Inc.
+// Copyright (C) 2005-2008 Red Hat Inc.
//
// This file is part of systemtap, and is free software. You can
// redistribute it and/or modify it under the terms of the GNU General
@@ -167,7 +167,7 @@ struct systemtap_session
unsigned num_errors () { return seen_errors.size(); }
// void print_error (const parse_error& e);
void print_error (const semantic_error& e);
- void print_warning (const std::string& w);
+ void print_warning (const std::string& w, std::string o);
// reNB: new POD members likely need to be explicitly cleared in the ctor.
};