@matheusbsbs / matheus-bagliano / commits / b5eb741a00
Fork 0

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>

Jeff King committed Jul 28, 2020 at 16:27 UTC b5eb741a00155f888a9a4ced87c840a2b7b04f5a
1 file changed -13
strvec.h
-13
@@ -86,17 +86,4 @@ void strvec_clear(struct strvec *);
86 */
87 const char **strvec_detach(struct strvec *);
88
89 -/* compatibility for historic argv_array interface */
90 -#define argv_array strvec
91 -#define ARGV_ARRAY_INIT STRVEC_INIT
92 -#define argv_array_init strvec_init
93 -#define argv_array_push strvec_push
94 -#define argv_array_pushf strvec_pushf
95 -#define argv_array_pushl strvec_pushl
96 -#define argv_array_pushv strvec_pushv
97 -#define argv_array_pop strvec_pop
98 -#define argv_array_split strvec_split
99 -#define argv_array_clear strvec_clear
100 -#define argv_array_detach strvec_detach
101 -
89 #endif /* STRVEC_H */