smbfs: Use C89 function definition for cf_getopt.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39519
This commit is contained in:
John Baldwin 2023-04-18 11:20:43 -07:00
parent 525438ea71
commit f6fd5356b3

View File

@ -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 */