mirror of
https://github.com/yquake2/extractfunctions.git
synced 2024-11-10 06:31:50 +00:00
s/_strdup/strdup/g
This commit is contained in:
parent
b378edcd4c
commit
dfe83b50cf
1 changed files with 4 additions and 4 deletions
|
@ -711,9 +711,9 @@ void main (int argc, char *argv[])
|
|||
Com_sprintf (typeName, sizeof(typeName), argv[i+1]);
|
||||
printf("Data type to extract: %s\n", typeName);
|
||||
Com_sprintf (buf, sizeof(buf), "g_%s_list.h", typeName);
|
||||
func_listfile = _strdup(buf);
|
||||
func_listfile = strdup(buf);
|
||||
Com_sprintf (buf, sizeof(buf), "g_%s_decs.h", typeName);
|
||||
func_decsfile = _strdup(buf);
|
||||
func_decsfile = strdup(buf);
|
||||
typeExtract = true;
|
||||
}
|
||||
else if ( !Q_stricmp(argv[i], "-o") && (i < argc-1) && (argv[i+1][0] != '-') )
|
||||
|
@ -795,9 +795,9 @@ int main (int argc, char *argv[])
|
|||
Com_sprintf (typeName, sizeof(typeName), argv[i+1]);
|
||||
printf("Data type to extract: %s\n", typeName);
|
||||
Com_sprintf (buf, sizeof(buf), "g_%s_list.h", typeName);
|
||||
func_listfile = _strdup(buf);
|
||||
func_listfile = strdup(buf);
|
||||
Com_sprintf (buf, sizeof(buf), "g_%s_decs.h", typeName);
|
||||
func_decsfile = _strdup(buf);
|
||||
func_decsfile = strdup(buf);
|
||||
typeExtract = true;
|
||||
}
|
||||
else if ( !Q_stricmp(argv[i], "-o") && (i < argc-1) && (argv[i+1][0] != '-') )
|
||||
|
|
Loading…
Reference in a new issue