diff options
author | Adam Jackson <ajax@redhat.com> | 2019-10-09 14:05:47 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-10-14 12:04:29 -0400 |
commit | 3b5df889f58a99980a35a7b4a18eb4e7d2abeac4 (patch) | |
tree | 926f03b3b683db53145f5375b6eff9ab58c66523 | |
parent | d0d471579ca69365d4cd5a548ce6fc8b4662d467 (diff) |
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 <alan.coopersmith@oracle.com>
-rw-r--r-- | Xtrans.c | 5 | ||||
-rw-r--r-- | Xtranslcl.c | 4 |
2 files changed, 1 insertions, 8 deletions
@@ -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) diff --git a/Xtranslcl.c b/Xtranslcl.c index ae3c0ad..f8a3976 100644 --- a/Xtranslcl.c +++ b/Xtranslcl.c @@ -231,10 +231,6 @@ TRANS(FillAddrInfo)(XtransConnInfo ciptr, #if defined(ICE_t) #define NAMEDNODENAME "/tmp/.ICE-pipe/" #endif -#if defined(TEST_t) -#define NAMEDNODENAME "/tmp/.Test-unix/test" -#define NAMEDNODENAME "/dev/X/Ntranstest." -#endif |