diff --git a/common/hush.c b/common/hush.c index 0e58e99..e4ae631 100644 --- a/common/hush.c +++ b/common/hush.c @@ -113,7 +113,6 @@ #include #include /* isalpha, isdigit */ #include /* readline */ -#include #include #include /* find_cmd */ #include @@ -171,6 +170,10 @@ #define FLAG_IN (1<=2nd pass */ + /* This holds pointers to the various results of parsing */ struct p_context { struct child_prog *child; diff --git a/include/hush.h b/include/hush.h deleted file mode 100644 index 40dde82..0000000 --- a/include/hush.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * (C) Copyright 2001 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - */ - -#ifndef _HUSH_H_ -#define _HUSH_H_ - -#define FLAG_EXIT_FROM_LOOP 1 -#define FLAG_PARSE_SEMICOLON (1 << 1) /* symbol ';' is special for parser */ -#define FLAG_REPARSING (1 << 2) /* >=2nd pass */ - -#endif