split.ih:
- Create automatically generated include header for split.c main.c: - Use function definitions from debug.ih and split.ih instead of externs Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
16c284eca2
commit
e3bc7f4da8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291837
@ -62,7 +62,8 @@ regexec.o: engine.c engine.ih
|
||||
regerror.o: regerror.ih
|
||||
regerror.o: utils.h
|
||||
debug.o: debug.ih
|
||||
main.o: main.ih
|
||||
main.o: debug.ih main.ih split.ih
|
||||
split.o: split.ih
|
||||
|
||||
r: re tests
|
||||
./re <tests
|
||||
|
@ -9,7 +9,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "debug.ih"
|
||||
#include "main.ih"
|
||||
#include "split.ih"
|
||||
|
||||
char *progname;
|
||||
int debug = 0;
|
||||
@ -22,9 +24,6 @@ regoff_t startoff = 0;
|
||||
regoff_t endoff = 0;
|
||||
|
||||
|
||||
extern int split();
|
||||
extern void regprint();
|
||||
|
||||
/*
|
||||
- main - do the simple case, hand off to regress() for regression
|
||||
*/
|
||||
|
@ -4,6 +4,8 @@ __FBSDID("$FreeBSD$");
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "split.ih"
|
||||
|
||||
/*
|
||||
- split - divide a string into fields, like awk split()
|
||||
== int split(char *string, char *fields[], int nfields, char *sep);
|
||||
|
Loading…
Reference in New Issue
Block a user