aboutsummaryrefslogtreecommitdiff
path: root/ckaliases.h
diff options
context:
space:
mode:
Diffstat (limited to 'ckaliases.h')
-rw-r--r--ckaliases.h30
1 files changed, 26 insertions, 4 deletions
diff --git a/ckaliases.h b/ckaliases.h
index 8d6546d..d3e053c 100644
--- a/ckaliases.h
+++ b/ckaliases.h
@@ -14,20 +14,44 @@
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>. */
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+#define obstack_chunk_alloc malloc
+#define obstack_chunk_free free
+#include <obstack.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <unistd.h>
+#include <sys/file.h>
+#include <sys/stat.h>
+#include <errno.h>
+#include <string.h>
+#include "getopt.h"
+#include "progname.h"
+#include "error.h"
+#include "xalloc.h"
+
extern char *file_name;
extern int line_num;
+extern int error_count;
void init_lex ();
void lex_debug (int n);
void openaliases (char *name);
void openaliases_prefix (char *prefix, char *name);
-struct string_list {
+struct string_list
+{
struct string_list *next;
char *str;
};
-typedef struct slist {
+typedef struct slist
+{
struct string_list *head, *tail;
int count;
} SLIST;
@@ -43,7 +67,5 @@ void regalias(char *name, SLIST *exp);
void begin_aliases (void);
void end_aliases (void);
-void error(char *fmt, ...);
-
extern SLIST *cw_list;
extern int verbose;

Return to:

Send suggestions and report system problems to the System administrator.