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

maximilian attems max at stro.at
Thu Jul 8 01:36:20 PDT 2010


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



More information about the klibc mailing list