[Lldb-commits] [lldb] r239199 - Remove unused editline includes
Pavel Labath
labath at google.com
Fri Jun 5 16:14:14 PDT 2015
Author: labath
Date: Fri Jun 5 18:14:14 2015
New Revision: 239199
URL: http://llvm.org/viewvc/llvm-project?rev=239199&view=rev
Log:
Remove unused editline includes
LLDB included editline in a couple of places, not respecting LLDB_DISABLE_LIBEDIT. As far as I can tell, these includes are not used, so I am removing them.
Modified:
lldb/trunk/tools/driver/Platform.h
lldb/trunk/tools/lldb-mi/Platform.h
Modified: lldb/trunk/tools/driver/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Platform.h?rev=239199&r1=239198&r2=239199&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Platform.h (original)
+++ lldb/trunk/tools/driver/Platform.h Fri Jun 5 18:14:14 2015
@@ -102,16 +102,6 @@
#include <pthread.h>
#include <sys/time.h>
-
-#if !defined(__ANDROID_NDK__)
- #include <histedit.h>
- #if defined(__FreeBSD__) || defined(__NetBSD__)
- #include <readline/readline.h>
- #else
- #include <editline/readline.h>
- #endif
-#endif
-
#endif
#endif // lldb_Platform_h_
Modified: lldb/trunk/tools/lldb-mi/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/Platform.h?rev=239199&r1=239198&r2=239199&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/Platform.h (original)
+++ lldb/trunk/tools/lldb-mi/Platform.h Fri Jun 5 18:14:14 2015
@@ -97,14 +97,7 @@ extern sighandler_t signal(int sig, sigh
#include <termios.h>
#include <unistd.h>
-#include <histedit.h>
#include <pthread.h>
#include <sys/time.h>
-#if defined(__FreeBSD__)
-#include <readline/readline.h>
-#else
-#include <editline/readline.h>
-#endif
-
#endif
More information about the lldb-commits
mailing list