From 3b5df889f58a99980a35a7b4a18eb4e7d2abeac4 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 9 Oct 2019 14:05:47 -0400 Subject: TEST_t is never defined This didn't even correspond to any of the testing protocol extensions! Apparently there used to be some test programs in xtrans itself, and they've not been a thing since 1994: https://cgit.freedesktop.org/~alanc/xc-historical/commit/?id=73bf4832c427855b2ce111d47dd1f181564b8d06 Reviewed-by: Alan Coopersmith --- Xtrans.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Xtrans.c') diff --git a/Xtrans.c b/Xtrans.c index c1ebd26..c4dbbc0 100644 --- a/Xtrans.c +++ b/Xtrans.c @@ -183,10 +183,7 @@ TRANS(SelectTransport) (const char *protocol) return NULL; } -#ifndef TEST_t -static -#endif /* TEST_t */ -int +static int TRANS(ParseAddress) (const char *address, char **protocol, char **host, char **port) -- cgit v1.2.1