Fix compilation failures: get rid of C++ specifics in C-code.

This commit is contained in:
Alexander Nozdrin 2009-06-03 15:18:12 +04:00
commit 744373ecc0
6 changed files with 6 additions and 6 deletions

View file

@ -234,7 +234,7 @@ get_one_option(int optid, const struct my_option *opt,
case 'p':
if (argument == disabled_my_option)
argument= (char*) ""; // Don't require password
argument= (char*) ""; /* Don't require password */
tty_password= 1;
add_option= FALSE;
if (argument)

View file

@ -287,7 +287,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break;
case 'p':
if (argument == disabled_my_option)
argument= (char*) ""; // Don't require password
argument= (char*) ""; /* Don't require password */
if (argument)
{
char *start = argument;

View file

@ -703,7 +703,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
#endif
case 'p':
if (argument == disabled_my_option)
argument= (char*) ""; // Don't require password
argument= (char*) ""; /* Don't require password */
if (argument)
{
char *start=argument;

View file

@ -222,7 +222,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
#endif
case 'p':
if (argument == disabled_my_option)
argument= (char*) ""; // Don't require password
argument= (char*) ""; /* Don't require password */
if (argument)
{
char *start=argument;

View file

@ -282,7 +282,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break;
case 'p':
if (argument == disabled_my_option)
argument= (char*) ""; // Don't require password
argument= (char*) ""; /* Don't require password */
if (argument)
{
char *start=argument;

View file

@ -713,7 +713,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break;
case 'p':
if (argument == disabled_my_option)
argument= (char*) ""; // Don't require password
argument= (char*) ""; /* Don't require password */
if (argument)
{
char *start= argument;