de-register, de-inline, de-__P

This commit is contained in:
tg
2004-10-28 11:11:19 +00:00
parent 7ad780aa98
commit 75e25d6e50
36 changed files with 660 additions and 656 deletions

38
edit.h
View File

@ -1,4 +1,4 @@
/** $MirBSD: edit.h,v 1.3 2004/09/21 11:57:08 tg Exp $ */
/** $MirBSD: edit.h,v 1.4 2004/10/28 11:11:17 tg Exp $ */
/* $OpenBSD: edit.h,v 1.3 1999/11/14 22:04:02 d Exp $ */
/* $From: edit.h,v 1.2 1994/05/19 18:32:40 michael Exp michael $ */
@ -32,26 +32,26 @@ EXTERN X_chars edchars;
#define XCF_COMMAND_FILE (XCF_COMMAND|XCF_FILE)
/* edit.c */
int x_getc ARGS((void));
void x_flush ARGS((void));
void x_putc ARGS((int c));
void x_puts ARGS((const char *s));
bool_t x_mode ARGS((bool_t onoff));
int promptlen ARGS((const char *cp, const char **spp));
int x_do_comment ARGS((char *buf, int bsize, int *lenp));
void x_print_expansions ARGS((int nwords, char *const *words, int is_command));
int x_cf_glob ARGS((int flags, const char *buf, int buflen, int pos, int *startp,
int *endp, char ***wordsp, int *is_commandp));
int x_longest_prefix ARGS((int nwords, char *const *words));
int x_basename ARGS((const char *s, const char *se));
void x_free_words ARGS((int nwords, char **words));
int x_escape ARGS((const char *, size_t, int (*)(const char *s, size_t len)));
int x_getc(void);
void x_flush(void);
void x_putc(int c);
void x_puts(const char *s);
bool_t x_mode(bool_t onoff);
int promptlen(const char *cp, const char **spp);
int x_do_comment(char *buf, int bsize, int *lenp);
void x_print_expansions(int nwords, char *const *words, int is_command);
int x_cf_glob(int flags, const char *buf, int buflen, int pos, int *startp,
int *endp, char ***wordsp, int *is_commandp);
int x_longest_prefix(int nwords, char *const *words);
int x_basename(const char *s, const char *se);
void x_free_words(int nwords, char **words);
int x_escape(const char *, size_t, int (*)(const char *s, size_t len));
/* emacs.c */
int x_emacs ARGS((char *buf, size_t len));
void x_init_emacs ARGS((void));
void x_emacs_keys ARGS((X_chars *ec));
int x_emacs(char *buf, size_t len);
void x_init_emacs(void);
void x_emacs_keys(X_chars *ec);
/* vi.c */
int x_vi ARGS((char *buf, size_t len));
int x_vi(char *buf, size_t len);
#ifdef DEBUG