No point in tracing a no longer undeclared "ps->cmd", fixes:
jobs.c: In function ?commandtext?:
jobs.c:1192: error: ?ps? undeclared (first use in this function)
jobs.c:1192: error: (Each undeclared identifier is reported only once
jobs.c:1192: error: for each function it appears in.)
Signed-off-by: maximilian attems <max at stro.at>
---
src/jobs.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/jobs.c b/src/jobs.c
index 060187c..826a9af 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -1189,8 +1189,7 @@ commandtext(union node *n)
STARTSTACKSTR(cmdnextc);
cmdtxt(n);
name = stackblock();
- TRACE(("commandtext: name %p, end %p\n\t\"%s\"\n",
- name, cmdnextc, ps->cmd));
+ TRACE(("commandtext: name %p, end %p\n", name, cmdnextc));
return savestr(name);
}
--
1.7.1
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
On Thu, Jul 08, 2010 at 10:36:19AM +0200, maximilian attems wrote:> No point in tracing a no longer undeclared "ps->cmd", fixes: > jobs.c: In function ?commandtext?: > jobs.c:1192: error: ?ps? undeclared (first use in this function) > jobs.c:1192: error: (Each undeclared identifier is reported only once > jobs.c:1192: error: for each function it appears in.) > > Signed-off-by: maximilian attems <max at stro.at>Patch applied. Thanks! -- Email: Herbert Xu <herbert at gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt