summary refs log tree commit diff
path: root/src/eval.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 16:23:08 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2005-10-29 16:23:08 +1000
commit065af09cd8006c4763f03c8b7ade158926b9cdde (patch)
treea4dc48cec4766df55f0badd0d7a33faea49543e2 /src/eval.h
parent[EXPAND] Added getpwhome as a wrapper for getpwnam (diff)
downloaddash-065af09cd8006c4763f03c8b7ade158926b9cdde.tar.gz
dash-065af09cd8006c4763f03c8b7ade158926b9cdde.zip
Fixed gcc 4.0 compilation problems
Removed obsolete extern declaration on funcnest.  This conflits with the
correct static definition.

Changed memtodest prototype to use char * instead of unsigned char *.
Perform the unsigned char cast inside memtodest instead.
Diffstat (limited to '')
-rw-r--r--src/eval.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/eval.h b/src/eval.h
index 7e888ff..005620d 100644
--- a/src/eval.h
+++ b/src/eval.h
@@ -52,9 +52,6 @@ union node;	/* BLETCH for ansi C */
 void evaltree(union node *, int);
 void evalbackcmd(union node *, struct backcmd *);
 
-/* in_function returns nonzero if we are currently evaluating a function */
-#define in_function()	funcnest
-extern int funcnest;
 extern int evalskip;
 
 /* reasons for skipping commands (see comment on breakcmd routine) */