args arrays static.

When creating static builds the args arrays collided due
to global visibility.
This commit is contained in:
Armin Novak 2015-07-31 11:31:21 +02:00
parent 1b177fa735
commit e223684fcb
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
#include <freerdp/log.h>
#define TAG CLIENT_TAG("common.cmdline")
COMMAND_LINE_ARGUMENT_A args[] =
static COMMAND_LINE_ARGUMENT_A args[] =
{
{ "v", COMMAND_LINE_VALUE_REQUIRED, "<server>[:port]", NULL, NULL, -1, NULL, "Server hostname" },
{ "port", COMMAND_LINE_VALUE_REQUIRED, "<number>", NULL, NULL, -1, NULL, "Server port" },

View File

@ -61,7 +61,7 @@ struct _MAKECERT_CONTEXT
int duration_months;
};
COMMAND_LINE_ARGUMENT_A args[] =
static COMMAND_LINE_ARGUMENT_A args[] =
{
/* Custom Options */