path: root/ckaliases.h
Side-by-side diff
Diffstat (limited to 'ckaliases.h') (more/less context) (ignore whitespace changes)
1 files changed, 42 insertions, 20 deletions
diff --git a/ckaliases.h b/ckaliases.h
index 8d6546d..d3e053c 100644
--- a/ckaliases.h
+++ b/ckaliases.h
@@ -14,36 +14,58 @@
You should have received a copy of the GNU General Public License along
with this program. If not, see <>. */
+# include <config.h>
+#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);
+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 *next;
- char *str;
+struct string_list
+ struct string_list *next;
+ char *str;
-typedef struct slist {
- struct string_list *head, *tail;
- int count;
+typedef struct slist
+ struct string_list *head, *tail;
+ int count;
-void slist_add(SLIST **plist, char *str);
-void slist_append(SLIST **pdst, SLIST *src);
-char *slist_member(SLIST *plist, char *name);
-void slist_destroy(SLIST **plist);
-void read_include(SLIST **plist, char *name);
+void slist_add (SLIST ** plist, char *str);
+void slist_append (SLIST ** pdst, SLIST * src);
+char *slist_member (SLIST * plist, char *name);
+void slist_destroy (SLIST ** plist);
-void regalias(char *name, SLIST *exp);
-void begin_aliases(void);
-void end_aliases(void);
+void read_include (SLIST ** plist, char *name);
-void error(char *fmt, ...);
+void regalias (char *name, SLIST * exp);
+void begin_aliases (void);
+void end_aliases (void);
extern SLIST *cw_list;
extern int verbose;

Return to:

Send suggestions and report system problems to the System administrator.