Browse Source

strvec: drop argv_array compatibility layer

There are no callers which need it anymore. Any topics in flight will
need to be updated as they get merged in (but the compiler will make
that quite clear).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Jeff King 5 years ago committed by Junio C Hamano
parent
commit
b5eb741a00
  1. 13
      strvec.h

13
strvec.h

@ -86,17 +86,4 @@ void strvec_clear(struct strvec *); @@ -86,17 +86,4 @@ void strvec_clear(struct strvec *);
*/
const char **strvec_detach(struct strvec *);

/* compatibility for historic argv_array interface */
#define argv_array strvec
#define ARGV_ARRAY_INIT STRVEC_INIT
#define argv_array_init strvec_init
#define argv_array_push strvec_push
#define argv_array_pushf strvec_pushf
#define argv_array_pushl strvec_pushl
#define argv_array_pushv strvec_pushv
#define argv_array_pop strvec_pop
#define argv_array_split strvec_split
#define argv_array_clear strvec_clear
#define argv_array_detach strvec_detach

#endif /* STRVEC_H */

Loading…
Cancel
Save