diff options
author | ache <ache@FreeBSD.org> | 1994-05-11 16:25:34 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-05-11 16:25:34 +0000 |
commit | a99fcfed5247b7cf1f0e1b59ac56aee4b040f7a0 (patch) | |
tree | 6cc9824916be5b9511f2a09b5530dca8f0a91ef2 /gnu | |
parent | 83dbe6296107e81d1ed3fa1740b32911cc76f69e (diff) | |
download | FreeBSD-src-a99fcfed5247b7cf1f0e1b59ac56aee4b040f7a0.zip FreeBSD-src-a99fcfed5247b7cf1f0e1b59ac56aee4b040f7a0.tar.gz |
Remove #ifdefs which may confuse external packages which include
this headers
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libreadline/readline/chardefs.h | 13 | ||||
-rw-r--r-- | gnu/lib/libreadline/readline/readline.h | 5 |
2 files changed, 1 insertions, 17 deletions
diff --git a/gnu/lib/libreadline/readline/chardefs.h b/gnu/lib/libreadline/readline/chardefs.h index c9dcff3..2dde30a 100644 --- a/gnu/lib/libreadline/readline/chardefs.h +++ b/gnu/lib/libreadline/readline/chardefs.h @@ -3,21 +3,10 @@ #define _CHARDEFS_ #include <ctype.h> - -#ifndef HAVE_STRING_H -#define HAVE_STRING_H -#endif - -#if defined (HAVE_STRING_H) -# include <string.h> -#else -# include <strings.h> -#endif /* HAVE_STRING_H */ +#include <string.h> #ifndef savestring -#ifndef STATIC_MALLOC extern char *xmalloc (); -#endif #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) #endif diff --git a/gnu/lib/libreadline/readline/readline.h b/gnu/lib/libreadline/readline/readline.h index 007bc87..1e47124 100644 --- a/gnu/lib/libreadline/readline/readline.h +++ b/gnu/lib/libreadline/readline/readline.h @@ -46,10 +46,7 @@ extern int rl_restart_output (), rl_re_read_init_file (), rl_dump_functions (), rl_delete_horizontal_space (); -/* #define PAREN_MATCHING */ -#if defined (PAREN_MATCHING) extern int rl_insert_close (); -#endif /* PAREN_MATCHING */ /* These are *both* defined even when VI_MODE is not. */ extern int rl_vi_editing_mode (), rl_emacs_editing_mode (); @@ -59,7 +56,6 @@ extern int rl_noninc_forward_search (), rl_noninc_reverse_search (), rl_noninc_forward_search_again (), rl_noninc_reverse_search_again (); -#if defined (VI_MODE) /* Things for vi mode. */ extern int rl_vi_redo (), rl_vi_tilde_expand (), @@ -75,7 +71,6 @@ extern int rl_vi_overstrike_delete (), rl_vi_replace(), rl_vi_column (), rl_vi_delete_to (), rl_vi_change_to (), rl_vi_yank_to (), rl_vi_complete (), rl_vi_fetch_history (); -#endif /* VI_MODE */ /* Keyboard macro commands. */ extern int |