smbfs: Use C89 function definition for cf_getopt.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39519
This commit is contained in:
parent
525438ea71
commit
f6fd5356b3
@ -51,10 +51,7 @@ const char* cf_optarg; /* argument associated with option */
|
||||
#define EMSG ""
|
||||
|
||||
int
|
||||
cf_getopt(nargc, nargv, ostr)
|
||||
int nargc;
|
||||
char * const *nargv;
|
||||
const char *ostr;
|
||||
cf_getopt(int nargc, char * const *nargv, const char *ostr)
|
||||
{
|
||||
static const char *place = EMSG; /* option letter processing */
|
||||
char *oli; /* option letter list index */
|
||||
|
Loading…
Reference in New Issue
Block a user