args arrays static.
When creating static builds the args arrays collided due to global visibility.
This commit is contained in:
parent
1b177fa735
commit
e223684fcb
@ -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" },
|
||||
|
@ -61,7 +61,7 @@ struct _MAKECERT_CONTEXT
|
||||
int duration_months;
|
||||
};
|
||||
|
||||
COMMAND_LINE_ARGUMENT_A args[] =
|
||||
static COMMAND_LINE_ARGUMENT_A args[] =
|
||||
{
|
||||
/* Custom Options */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user