diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-09-06 00:22:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-09-06 00:22:01 +0000 |
commit | f23264df0bd12d32be94d2b98a19766e49dbecd5 (patch) | |
tree | 6948da6908971c075eb289df7467c8650e292289 /bfd/section.c | |
parent | 44104088fb332d57b38d67324f7461b61df638fd (diff) | |
download | gdb-f23264df0bd12d32be94d2b98a19766e49dbecd5.tar.gz |
`template' isn't a very good name for a variable.
Who invented c++ anyway?
Diffstat (limited to 'bfd/section.c')
-rw-r--r-- | bfd/section.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/section.c b/bfd/section.c index 69d80cfb5eb..6064924b430 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -649,30 +649,30 @@ FUNCTION SYNOPSIS char *bfd_get_unique_section_name(bfd *abfd, - const char *template, + const char *templat, int *count); DESCRIPTION Invent a section name that is unique in @var{abfd} by tacking - a digit suffix onto the original @var{template}. If @var{count} + a digit suffix onto the original @var{templat}. If @var{count} is non-NULL, then it specifies the first number tried as a suffix to generate a unique name. The value pointed to by @var{count} will be incremented in this case. */ char * -bfd_get_unique_section_name (abfd, template, count) +bfd_get_unique_section_name (abfd, templat, count) bfd *abfd; - const char *template; + const char *templat; int *count; { int num; unsigned int len; char *sname; - len = strlen (template); + len = strlen (templat); sname = bfd_malloc (len + 7); - strcpy (sname, template); + strcpy (sname, templat); num = 1; if (count != NULL) num = *count; |