Re: [WIP/PATCH v5 05/10] for-each-ref: introduce 'ref_array_clear()'
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 8, 2015, 14:53 UTC
- Message-ID
- <vpqvbey6yli.fsf@anie.imag.fr>
- In-Reply-To
- <1433574581-23980-5-git-send-email-karthik.188@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
> +/* Free all memory allocated for ref_array */ > +void ref_array_clear(struct ref_array *array)
Is this a private function? If so, then add static. If not, you probably want to export it in a .h file.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/