mirror of
https://github.com/tildeclub/ex-vi.git
synced 2026-06-29 15:09:25 +00:00
include regex.h in ex_re.c only
This commit is contained in:
12
ex_re.h
12
ex_re.h
@@ -72,13 +72,9 @@
|
||||
*
|
||||
* from ex_re.h 7.3 (Berkeley) 5/31/85
|
||||
*
|
||||
* @(#)ex_re.h 1.19 (gritter) 2/19/05
|
||||
* @(#)ex_re.h 1.20 (gritter) 2/19/05
|
||||
*/
|
||||
|
||||
#ifdef UXRE
|
||||
#include <regex.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Regular expression definitions.
|
||||
* The regular expressions in ex are similar to those in ed,
|
||||
@@ -92,11 +88,7 @@ struct regexp {
|
||||
char Patbuf[2*LBSIZE + 1];
|
||||
long Re_ident;
|
||||
bool Re_used;
|
||||
#ifdef UXRE
|
||||
regex_t Expbuf;
|
||||
#else /* !UXRE */
|
||||
char *Expbuf;
|
||||
#endif /* !UXRE */
|
||||
void *Expbuf;
|
||||
bool Circfl;
|
||||
short Nbra;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user