aboutsummaryrefslogtreecommitdiff
path: root/gdb/copying.awk
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-08-23 20:19:32 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-08-23 20:19:32 +0000
commit07aed0ebe25052be568e0b9569487883a9025794 (patch)
tree4976133d4a9c41d13a23d7650029ee9b95b4c976 /gdb/copying.awk
parent7b4336022e3d311f7a50afbda16fe9e4fc3db8a1 (diff)
downloadgdb-07aed0ebe25052be568e0b9569487883a9025794.zip
gdb-07aed0ebe25052be568e0b9569487883a9025794.tar.gz
gdb-07aed0ebe25052be568e0b9569487883a9025794.tar.bz2
* copying.awk: Protoization, and I18n markup.
Diffstat (limited to 'gdb/copying.awk')
-rw-r--r--gdb/copying.awk18
1 files changed, 7 insertions, 11 deletions
diff --git a/gdb/copying.awk b/gdb/copying.awk
index 53f7a6f..94e5f1b 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 "}";
}