diff options
author | markm <markm@FreeBSD.org> | 1995-09-07 21:39:00 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1995-09-07 21:39:00 +0000 |
commit | 2539acf77b018acd7416a9857a14c466e55cd7e8 (patch) | |
tree | 96ff3578d62372822240f11a1567e45b880f3910 /eBones/include/kparse.h | |
parent | eed9438eb23b62f78af7685dc226228e2bf5c524 (diff) | |
download | FreeBSD-src-2539acf77b018acd7416a9857a14c466e55cd7e8.zip FreeBSD-src-2539acf77b018acd7416a9857a14c466e55cd7e8.tar.gz |
Major cleanup of eBones code:
- Get all functions prototyped or at least defined before use.
- Make code compile (Mostly) clean with -Wall set
- Start to reduce the degree to which DES aka libdes is built in.
- get all functions to the same uniform standard of definition:
int
foo(a, b)
int a;
int *b;
{
:
}
- fix numerous bugs exposed by above processes.
Note - this replaces the previous work which used an unpopular function
definition style.
Diffstat (limited to 'eBones/include/kparse.h')
-rw-r--r-- | eBones/include/kparse.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eBones/include/kparse.h b/eBones/include/kparse.h index 26bc523..58d45a7 100644 --- a/eBones/include/kparse.h +++ b/eBones/include/kparse.h @@ -81,7 +81,11 @@ extern char ErrorMsg[]; /* * fGetParameterSet */ -extern char *strsave(); /* defined in this module */ -extern char *strutol(); /* defined in this module */ +extern char *strsave(char *p); /* defined in this module */ +extern char *strutol(char *p); /* defined in this module */ + +int fGetParameterSet(FILE *fp, parmtable parm[], int parmcount); +int fGetKeywordValue(FILE *fp, char *keyword, int klen, char *value, int vlen); +int fGetToken(FILE *fp, char *dest, int maxlen); #endif /* KPARSE_DEFS */ |