diff options
author | Jeff King <peff@peff.net> | 2014-05-15 04:41:03 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-15 09:49:12 -0700 |
commit | ff857e4ee8680af3988aff3383b1158f396a6fb2 (patch) | |
tree | a8dd6bb9c85cd553b4168210de4fdcaec562de18 /argv-array.h | |
parent | 173fd1a1a44b89a204eb1289e4ff1f9d733e0cf1 (diff) | |
download | git-ff857e4ee8680af3988aff3383b1158f396a6fb2.tar.gz |
argv-array: drop "detach" codejk/argv-array-for-child-process
The argv_array_detach function (and associated free() function) was
really only useful for transferring ownership of the memory to a "struct
child_process". Now that we have an internal argv_array in that struct,
there are no callers left.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'argv-array.h')
-rw-r--r-- | argv-array.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/argv-array.h b/argv-array.h index 85ba438ac1..c65e6e825a 100644 --- a/argv-array.h +++ b/argv-array.h @@ -19,7 +19,5 @@ LAST_ARG_MUST_BE_NULL void argv_array_pushl(struct argv_array *, ...); void argv_array_pop(struct argv_array *); void argv_array_clear(struct argv_array *); -const char **argv_array_detach(struct argv_array *array, int *argc); -void argv_array_free_detached(const char **argv); #endif /* ARGV_ARRAY_H */ |