summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwcohen <wcohen>2006-05-02 19:59:11 +0000
committerwcohen <wcohen>2006-05-02 19:59:11 +0000
commitb5e09b8bb400e5bd51f5e353dad95d868d3756ab (patch)
treea15e57cde5cc2afdf1be9342ffb70c6af8a4b5fc
parent4b17d6af571193c8a78c470ef941bbfea73de253 (diff)
downloadsystemtap-steved-b5e09b8bb400e5bd51f5e353dad95d868d3756ab.tar.gz
systemtap-steved-b5e09b8bb400e5bd51f5e353dad95d868d3756ab.tar.xz
systemtap-steved-b5e09b8bb400e5bd51f5e353dad95d868d3756ab.zip
Move closing '}' inside #ifdef.
-rw-r--r--ChangeLog4
-rw-r--r--translate.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c21d67ac..00f13f0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-05-02 Will Cohen <wcohen@redhat.com>
+ * translate.cxx (emit_module_init): Move closing '}' inside #ifdef.
+
+2006-05-02 Will Cohen <wcohen@redhat.com>
+
PR 2228
* stap.1.in: Document "-t" option.
* main.cxx (main): Add "-t" option for collecting timing information.
diff --git a/translate.cxx b/translate.cxx
index e9a297e7..ddbeea0d 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1024,8 +1024,8 @@ c_unparser::emit_module_init ()
o->newline() << "_stp_printf (\"time_" << session->probes[i]->name
<< " %lld@%lld\\n\"," << "stats->count, avg);";
o->newline() << "_stp_print_flush();";
- o->newline() << "#endif";
o->newline(-1) << "}";
+ o->newline() << "#endif";
o->newline(-1) << "}";
}