From 065af09cd8006c4763f03c8b7ade158926b9cdde Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sat, 29 Oct 2005 16:23:08 +1000 Subject: 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. --- src/eval.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/eval.h') 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) */ -- cgit 1.4.1