Diff for /embedaddon/readline/histlib.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2014/07/30 08:16:45 version 1.1.1.2, 2021/03/17 01:01:01
Line 51 Line 51
 #endif  #endif
   
 #ifndef member  #ifndef member
#  ifndef strchr#  if !defined (strchr) && !defined (__STDC__)
 extern char *strchr ();  extern char *strchr ();
#  endif#  endif /* !strchr && !__STDC__ */
 #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)  #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)
 #endif  #endif
   
Line 69  extern char *strchr (); Line 69  extern char *strchr ();
 #define NO_PREV_SUBST   4  #define NO_PREV_SUBST   4
   
 /* Possible definitions for history starting point specification. */  /* Possible definitions for history starting point specification. */
#define ANCHORED_SEARCH 1#define NON_ANCHORED_SEARCH     0
#define NON_ANCHORED_SEARCH 0#define ANCHORED_SEARCH         0x01
 #define PATTERN_SEARCH          0x02
   
 /* Possible definitions for what style of writing the history file we want. */  /* Possible definitions for what style of writing the history file we want. */
 #define HISTORY_APPEND 0  #define HISTORY_APPEND 0
 #define HISTORY_OVERWRITE 1  #define HISTORY_OVERWRITE 1
   
/* Some variable definitions shared across history source files. *//* internal extern function declarations used by other parts of the library */
extern int history_offset;
 /* histsearch.c */
 extern int _hs_history_patsearch PARAMS((const char *, int, int));
   
 #endif /* !_HISTLIB_H_ */  #endif /* !_HISTLIB_H_ */

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>