~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to regex/main.c

  • Committer: Monty Taylor
  • Date: 2008-07-05 19:00:59 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705190059-3vfbd3ebpmzaw5e5
Fixed unsigned long int, format specifiers and functions. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
regoff_t endoff = 0;
18
18
 
19
19
 
20
 
extern int split(char *string, char *fields[], int nfields, char *sep);
21
 
extern void regprint(my_regex_t *r, FILE *d);
 
20
extern int split();
 
21
extern void regprint();
22
22
 
23
23
/*
24
24
 - main - do the simple case, hand off to regress() for regression
25
25
 */
26
 
int main(int argc, char **argv)
 
26
int main(argc, argv)
 
27
int argc;
 
28
char *argv[];
27
29
{
28
30
        my_regex_t re;
29
31
#       define  NS      10
34
36
        int c;
35
37
        int errflg = 0;
36
38
        register int i;
 
39
        extern int optind;
 
40
        extern char *optarg;
37
41
 
38
42
        progname = argv[0];
39
43