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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user