]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
cleanup: remove NO_SPLIT preprocessor check
authorSami Kerola <kerolasa@iki.fi>
Thu, 18 Aug 2016 21:36:18 +0000 (22:36 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 21 Aug 2016 14:53:10 +0000 (15:53 +0100)
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.

display.c

index 7cfbaa215079d2fa22c9e9b24676de3e93c355f8..6f2b733a235f3966ea8ffba32b927c592d970af7 100644 (file)
--- 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.