Skip to content

Commit

Permalink
Remove generated 'ih' headers from re-test
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffmcl committed Aug 8, 2017
1 parent 36b9588 commit fadd60f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 35 deletions.
7 changes: 6 additions & 1 deletion debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
#include "regex.h"
#include "utils.h"
#include "regex2.h"
#include "debug.ih"

/* #include "debug.ih" // why generate this */
/* forward refs */
void regprint(regex_t *r, FILE *d);
static void s_print(register struct re_guts *g, FILE *d);
static char *regchar(int ch);

/*
- regprint - print a regexp for debugging
Expand Down
14 changes: 0 additions & 14 deletions debug.ih

This file was deleted.

12 changes: 11 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@
#include <assert.h>
/* local headers */
#include "regex.h"
#include "main.ih"
#ifdef _MSC_VER // local getopt source
#include "utils\getopt.h"
#endif

/* #include "main.ih" // why generate this? */
/* forward refs */
void regress(FILE *in);
void try(char *f0, char *f1, char *f2, char *f3, char *f4, int opts);
int options(int type, char *s);
int opt(int c, char *s);
void fixstr(register char *p);
char *check(char *str, regmatch_t sub, char *should);
static char *eprint(int err);
static int efind(char *name);

char *progname;
int debug = 0;
int line = 0;
Expand Down
19 changes: 0 additions & 19 deletions main.ih

This file was deleted.

0 comments on commit fadd60f

Please sign in to comment.