Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Merged PR 9924: fix(build): correct extern getsubopt declaration #170226
Browse files Browse the repository at this point in the history
fix(build): correct extern getsubopt declaration #170226

Correct cyrus sasl extern getsubopt declaration for osx to correct build error.

Related work items: #170226
  • Loading branch information
dmorash-BT committed Dec 14, 2018
1 parent 4b1d0fb commit ce900db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cyrus-sasl/mac/include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ extern int getopt(
char * const *nargv,
const char *ostr);

extern int getsubopt(char **optionp, const char * const *tokens, char **valuep);
/* extern int getsubopt(char **optionp, const char * const *tokens, char **valuep); */
/* PBIS modification to make this definition match the OSX unistd.h definition */
extern int getsubopt(char **optionp, char * const *tokens, char **valuep);
extern char* getpass(const char *prompt);

/* ------------------------------------------------------------ */
Expand Down

0 comments on commit ce900db

Please sign in to comment.