make scope variables unique to avoid shadow warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15614 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-10 05:13:09 +00:00
parent fe8d09cbc4
commit 53ac3a20b2
5 changed files with 73 additions and 34 deletions

View File

@@ -70,6 +70,20 @@ get_filename (void)
return orig_filename;
}
static int unique_number;
void
unique_reset(void)
{
unique_number = 0;
}
int
unique_get_next(void)
{
return unique_number++;
}
void
init_generate (const char *filename, const char *base)
{