Remove #ifdefs which may confuse external packages which include

this headers
This commit is contained in:
Andrey A. Chernov 1994-05-11 16:25:34 +00:00
parent aec37cc797
commit 877fea92de
2 changed files with 1 additions and 17 deletions

View file

@ -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

View file

@ -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