args.c: ArgStr() constify and add prototype
This commit is contained in:
parent
2ba1d20ab4
commit
e7bfa72298
|
|
@ -56,7 +56,7 @@ char *
|
|||
ArgStr(pargc, pargv, argType)
|
||||
int *pargc;
|
||||
char ***pargv;
|
||||
char *argType; /* For error messages: what the following string is
|
||||
const char *argType;/* For error messages: what the following string is
|
||||
* supposed to be interpreted as.
|
||||
*/
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ extern FILE *PaOpen(char *, char *, char *, char *, char *, char **);
|
|||
extern FILE *PaLockOpen(char *, char *, char *, char *, char *, char **, bool *, int *);
|
||||
extern char *StrDup(char **, const char *);
|
||||
extern bool Match(const char *pattern, const char *string);
|
||||
extern char *ArgStr();
|
||||
extern char *ArgStr(int *pargc, char ***pargv, const char *argType);
|
||||
extern bool StrIsWhite(const char *, bool);
|
||||
extern bool StrIsInt(const char *);
|
||||
extern bool StrIsNumeric(const char *);
|
||||
|
|
|
|||
Loading…
Reference in New Issue