]> git.ipfire.org Git - thirdparty/git.git/commitdiff
strvec: drop argv_array compatibility layer
authorJeff King <peff@peff.net>
Tue, 28 Jul 2020 20:27:09 +0000 (16:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jul 2020 22:02:18 +0000 (15:02 -0700)
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>
strvec.h

index 4be39c8a4876ab24c3855d909daeeb2a20c15936..bd35de1ce4683ac63fcd8a59c37427c289457c72 100644 (file)
--- a/strvec.h
+++ b/strvec.h
@@ -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 */