diff --git a/mac/macmisc.c b/mac/macmisc.c index ce32eb44..a1a88f5a 100644 --- a/mac/macmisc.c +++ b/mac/macmisc.c @@ -194,7 +194,7 @@ struct tm ltime(void) return tm; } -const char platform_x11_best_transport[] = "localhost"; +const int platform_uses_x11_unix_by_default = FALSE; char *platform_get_x_display(void) { return NULL; diff --git a/macosx/osxmain.m b/macosx/osxmain.m index 362f92bd..d8202e24 100644 --- a/macosx/osxmain.m +++ b/macosx/osxmain.m @@ -20,8 +20,6 @@ AppController *controller; * and Unix PuTTY code. */ -const char platform_x11_best_transport[] = "unix"; - char *platform_get_x_display(void) { return NULL; } diff --git a/unix/uxcons.c b/unix/uxcons.c index 16e69fbb..f147b35b 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -416,8 +416,6 @@ int is_interactive(void) * X11-forwarding-related things suitable for console. */ -const char platform_x11_best_transport[] = "unix"; - char *platform_get_x_display(void) { return dupstr(getenv("DISPLAY")); } diff --git a/unix/uxputty.c b/unix/uxputty.c index 65b1ecaa..73e11973 100644 --- a/unix/uxputty.c +++ b/unix/uxputty.c @@ -115,8 +115,6 @@ char *make_default_wintitle(char *hostname) * X11-forwarding-related things suitable for Gtk app. */ -const char platform_x11_best_transport[] = "unix"; - char *platform_get_x_display(void) { const char *display; /* Try to take account of --display and what have you. */