mirror of
https://github.com/reactos/ccache.git
synced 2025-01-21 19:06:11 +00:00
Add args_copy function
This commit is contained in:
parent
dd153c944a
commit
2d3de36d24
5
args.c
5
args.c
@ -35,6 +35,11 @@ ARGS *args_init(int init_argc, char **init_args)
|
||||
return args;
|
||||
}
|
||||
|
||||
ARGS *args_copy(ARGS *args)
|
||||
{
|
||||
return args_init(args->argc, args->argv);
|
||||
}
|
||||
|
||||
void args_free(ARGS *args)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user