McConville. No binary change.
-/* $OpenBSD: lex.h,v 1.15 2015/10/09 19:49:08 millert Exp $ */
+/* $OpenBSD: lex.h,v 1.16 2015/10/10 07:35:16 nicm Exp $ */
/*
* Source input, lexer and parser
extern int histsize; /* history size */
#endif /* HISTORY */
+
+int yylex(int);
+void yyerror(const char *, ...)
+ __attribute__((__noreturn__, __format__ (printf, 1, 2)));
+Source * pushs(int, Area *);
+void set_prompt(int, Source *);
+void pprompt(const char *, int);
-/* $OpenBSD: proto.h,v 1.37 2015/10/06 21:19:06 nicm Exp $ */
+/* $OpenBSD: proto.h,v 1.38 2015/10/10 07:35:16 nicm Exp $ */
/*
* prototypes for PD-KSH
void j_notify(void);
pid_t j_async(void);
int j_stopped_running(void);
-/* lex.c */
-int yylex(int);
-void yyerror(const char *, ...)
- __attribute__((__noreturn__, __format__ (printf, 1, 2)));
-Source * pushs(int, Area *);
-void set_prompt(int, Source *);
-void pprompt(const char *, int);
/* mail.c */
void mcheck(void);
void mcset(long);
/* syn.c */
void initkeywords(void);
struct op * compile(Source *);
-/* table.c */
-unsigned int hash(const char *);
-void ktinit(struct table *, Area *, int);
-struct tbl * ktsearch(struct table *, const char *, unsigned int);
-struct tbl * ktenter(struct table *, const char *, unsigned int);
-void ktdelete(struct tbl *);
-void ktwalk(struct tstate *, struct table *);
-struct tbl * ktnext(struct tstate *);
-struct tbl ** ktsort(struct table *);
/* trace.c */
/* trap.c */
void inittraps(void);
-/* $OpenBSD: table.h,v 1.10 2015/10/05 23:26:58 nicm Exp $ */
+/* $OpenBSD: table.h,v 1.11 2015/10/10 07:35:16 nicm Exp $ */
/* $From: table.h,v 1.3 1994/05/31 13:34:34 michael Exp $ */
extern const char *prompt;
extern int cur_prompt; /* PS1 or PS2 */
extern int current_lineno; /* LINENO value */
+
+unsigned int hash(const char *);
+void ktinit(struct table *, Area *, int);
+struct tbl * ktsearch(struct table *, const char *, unsigned int);
+struct tbl * ktenter(struct table *, const char *, unsigned int);
+void ktdelete(struct tbl *);
+void ktwalk(struct tstate *, struct table *);
+struct tbl * ktnext(struct tstate *);
+struct tbl ** ktsort(struct table *);