[PATCH 2/2] [EVAL] clean up myhistedit.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fixes debug compilation of klibc:
In file included from usr/dash/eval.c:64:
usr/dash/myhistedit.h:34:22: error: histedit.h: No such file or directory
In file included from usr/dash/eval.c:64:
usr/dash/myhistedit.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
usr/dash/myhistedit.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__

as none of the History or EditLine seem to have an usage, removed them.

Signed-off-by: maximilian attems <max@xxxxxxx>
---
 src/myhistedit.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/myhistedit.h b/src/myhistedit.h
index 22e5c43..4699b34 100644
--- a/src/myhistedit.h
+++ b/src/myhistedit.h
@@ -31,10 +31,6 @@
  *	@(#)myhistedit.h	8.2 (Berkeley) 5/4/95
  */
 
-#include <histedit.h>
-
-extern History *hist;
-extern EditLine *el;
 extern int displayhist;
 
 void histedit(void);
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux