Ignore:
Timestamp:
Apr 21, 2007, 8:33:35 AM (18 years ago)
Author:
bird
Message:

hacking...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ash-messup/eval.h

    r626 r879  
    3535 */
    3636
    37 extern char *commandname;       /* currently executing command */
    38 extern int exitstatus;          /* exit status of last command */
    39 extern int back_exitstatus;     /* exit status of backquoted command */
    40 extern struct strlist *cmdenviron;  /* environment for builtin command */
     37/*extern char *commandname;*/   /* currently executing command */
     38/*extern int exitstatus;*/              /* exit status of last command */
     39/*extern int back_exitstatus;*/ /* exit status of backquoted command */
     40/*extern struct strlist *cmdenviron;*/  /* environment for builtin command */
    4141
    4242
     
    4848};
    4949
    50 void evalstring(char *, int);
     50void evalstring(struct shinstance *, char *, int);
    5151union node;     /* BLETCH for ansi C */
    52 void evaltree(union node *, int);
    53 void evalbackcmd(union node *, struct backcmd *);
     52void evaltree(struct shinstance *, union node *, int);
     53void evalbackcmd(struct shinstance *, union node *, struct backcmd *);
    5454
    5555/* in_function returns nonzero if we are currently evaluating a function */
    56 #define in_function()   funcnest
    57 extern int funcnest;
    58 extern int evalskip;
     56#define in_function()   psh->funcnest
     57/*extern int funcnest;
     58extern int evalskip;*/
    5959
    6060/* reasons for skipping commands (see comment on breakcmd routine) */
Note: See TracChangeset for help on using the changeset viewer.