From: Sami Kerola Date: Thu, 18 Aug 2016 21:36:18 +0000 (+0100) Subject: cleanup: remove NO_SPLIT preprocessor check X-Git-Tag: v0.88~30^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a476fd8a6cddb936fff4658b91d99ef15f793966;p=thirdparty%2Fmtr.git cleanup: remove NO_SPLIT preprocessor check Apparently ./configure --without-split was planned to be added in commit 433bf6c22ce90e25f3ffb0b4852631e5724ac608 but that has not happen in 17 years. Time has come to get rid of a half implemented idea. --- diff --git a/display.c b/display.c index 7cfbaa2..6f2b733 100644 --- a/display.c +++ b/display.c @@ -56,15 +56,7 @@ extern int DisplayMode; #define gtk_loop() {fprintf (stderr, "No GTK support. Sorry.\n"); exit(EXIT_FAILURE); } #endif -#ifdef NO_SPLIT -// No support for split mode, allow the calls to remain in the code. -#define split_open() -#define split_close() -#define split_redraw() -#define split_keyaction() 0 -#else #include "split.h" -#endif #ifndef HAVE_IPINFO // No support for IPINFO allow the calls to remain in the main code.