diff options
author | wcohen <wcohen> | 2006-05-02 19:59:11 +0000 |
---|---|---|
committer | wcohen <wcohen> | 2006-05-02 19:59:11 +0000 |
commit | b5e09b8bb400e5bd51f5e353dad95d868d3756ab (patch) | |
tree | a15e57cde5cc2afdf1be9342ffb70c6af8a4b5fc | |
parent | 4b17d6af571193c8a78c470ef941bbfea73de253 (diff) | |
download | systemtap-steved-b5e09b8bb400e5bd51f5e353dad95d868d3756ab.tar.gz systemtap-steved-b5e09b8bb400e5bd51f5e353dad95d868d3756ab.tar.xz systemtap-steved-b5e09b8bb400e5bd51f5e353dad95d868d3756ab.zip |
Move closing '}' inside #ifdef.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | translate.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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) << "}"; } |