Skip to content

Commit

Permalink
Merging r239199:
Browse files Browse the repository at this point in the history
------------------------------------------------------------------------
r239199 | labath | 2015-06-05 19:14:14 -0400 (Fri, 05 Jun 2015) | 3 lines

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.
------------------------------------------------------------------------

Differential Revision: http://reviews.llvm.org/D10324

llvm-svn: 240294
  • Loading branch information
tstellarAMD committed Jun 22, 2015
1 parent 112b2da commit d70b424
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
10 changes: 0 additions & 10 deletions lldb/tools/driver/Platform.h
Expand Up @@ -103,16 +103,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_
7 changes: 0 additions & 7 deletions lldb/tools/lldb-mi/Platform.h
Expand Up @@ -96,14 +96,7 @@ extern sighandler_t signal(int sig, sighandler_t);
#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

0 comments on commit d70b424

Please sign in to comment.