diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-08-23 20:19:32 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-08-23 20:19:32 +0000 |
commit | b7f234ba32675cfef0a9b4a264cf4e116ffa578e (patch) | |
tree | 54fab5327d4ec27fb17666ff6e454b3571397962 | |
parent | 8a2b27e3685053466b08009b5fd90bca5f309f46 (diff) | |
download | gdb-b7f234ba32675cfef0a9b4a264cf4e116ffa578e.tar.gz |
* copying.awk: Protoization, and I18n markup.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/copying.awk | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1b3a149bca2..7d34f3c29fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2007-08-23 Joel Brobecker <brobecker@adacore.com> + * copying.awk: Protoization, and I18n markup. + +2007-08-23 Joel Brobecker <brobecker@adacore.com> + * config/djgpp/djconfig.sh: Switch license to GPLv3. * copyright.sh: Likewise. * gdb-events.sh: Likewise. diff --git a/gdb/copying.awk b/gdb/copying.awk index 53f7a6f518d..94e5f1b2105 100644 --- a/gdb/copying.awk +++ b/gdb/copying.awk @@ -15,9 +15,7 @@ BEGIN { print "" print "extern int immediate_quit;"; print "static void"; - print "show_copying_command (ignore, from_tty)"; - print " char *ignore;"; - print " int from_tty;"; + print "show_copying_command (char *ignore, int from_tty)"; print "{"; print " immediate_quit++;"; } @@ -39,9 +37,7 @@ NR == 1,/^[ ]*NO WARRANTY[ ]*$/ { print "}"; print ""; print "static void"; - print "show_warranty_command (ignore, from_tty)"; - print " char *ignore;"; - print " int from_tty;"; + print "show_warranty_command (char *ignore, int from_tty)"; print "{"; print " immediate_quit++;"; } @@ -59,19 +55,19 @@ END { print "}"; print ""; print "void" - print "_initialize_copying ()"; + print "_initialize_copying (void)"; print "{"; print " add_cmd (\"copying\", no_class, show_copying_command,"; - print " \"Conditions for redistributing copies of GDB.\","; + print " _(\"Conditions for redistributing copies of GDB.\"),"; print " &showlist);"; print " add_cmd (\"warranty\", no_class, show_warranty_command,"; - print " \"Various kinds of warranty you do not have.\","; + print " _(\"Various kinds of warranty you do not have.\"),"; print " &showlist);"; print ""; print " /* For old-timers, allow \"info copying\", etc. */"; print " add_info (\"copying\", show_copying_command,"; - print " \"Conditions for redistributing copies of GDB.\");"; + print " _(\"Conditions for redistributing copies of GDB.\"));"; print " add_info (\"warranty\", show_warranty_command,"; - print " \"Various kinds of warranty you do not have.\");"; + print " _(\"Various kinds of warranty you do not have.\"));"; print "}"; } |