aboutsummaryrefslogtreecommitdiff
path: root/gprof/gmon_io.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-03 21:32:36 +0000
committerNick Clifton <nickc@redhat.com>2002-01-03 21:32:36 +0000
commit741247bffa06dd2bb6738dd54fed98221347b418 (patch)
treee8af0a54eeab9247a512bac82aeef8f1aa6ac810 /gprof/gmon_io.c
parent831e682efed7d11695f65c9148f40b81da1d121b (diff)
downloadgdb-741247bffa06dd2bb6738dd54fed98221347b418.zip
gdb-741247bffa06dd2bb6738dd54fed98221347b418.tar.gz
gdb-741247bffa06dd2bb6738dd54fed98221347b418.tar.bz2
Remove use of ngettext()
Diffstat (limited to 'gprof/gmon_io.c')
-rw-r--r--gprof/gmon_io.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index 207e3d0..b15d642 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -447,12 +447,15 @@ DEFUN (gmon_out_read, (filename), const char *filename)
{
printf (_("File `%s' (version %d) contains:\n"),
filename, gmon_file_version);
- printf (ngettext ("\t%d histogram record\n",
- "\t%d histogram records\n", nhist), nhist);
- printf (ngettext ("\t%d call-graph record\n",
- "\t%d call-graph records\n", narcs), narcs);
- printf (ngettext ("\t%d basic-block count record\n",
- "\t%d basic-block count records\n", nbbs), nbbs);
+ printf (nhist == 1 ?
+ _("\t%d histogram record\n") :
+ _("\t%d histogram records\n"), nhist);
+ printf (narcs == 1 ?
+ _("\t%d call-graph record\n") :
+ _("\t%d call-graph records\n"), narcs);
+ printf (nbbs == 1 ?
+ _("\t%d basic-block count record\n") :
+ _("\t%d basic-block count records\n"), nbbs);
first_output = FALSE;
}
}