Merge pull request #3986 from akallabeth/debug_fix
Fixed missing external declaration (#3982)
This commit is contained in:
commit
bbe80451aa
@ -30,14 +30,11 @@
|
||||
|
||||
#include <freerdp/log.h>
|
||||
|
||||
#include "rdp.h"
|
||||
#include "peer.h"
|
||||
|
||||
#define TAG FREERDP_TAG("core.peer")
|
||||
|
||||
#ifdef WITH_DEBUG_RDP
|
||||
extern const char* DATA_PDU_TYPE_STRINGS[80];
|
||||
#endif
|
||||
|
||||
static HANDLE freerdp_peer_virtual_channel_open(freerdp_peer* client, const char* name,
|
||||
UINT32 flags)
|
||||
{
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#define TAG FREERDP_TAG("core.rdp")
|
||||
|
||||
static const char* DATA_PDU_TYPE_STRINGS[80] =
|
||||
const char* DATA_PDU_TYPE_STRINGS[80] =
|
||||
{
|
||||
"?", "?", /* 0x00 - 0x01 */
|
||||
"Update", /* 0x02 */
|
||||
|
@ -240,6 +240,7 @@ FREERDP_LOCAL void rdp_free(rdpRdp* rdp);
|
||||
#define RDP_TAG FREERDP_TAG("core.rdp")
|
||||
#ifdef WITH_DEBUG_RDP
|
||||
#define DEBUG_RDP(...) WLog_DBG(RDP_TAG, __VA_ARGS__)
|
||||
extern const char* DATA_PDU_TYPE_STRINGS[80];
|
||||
#else
|
||||
#define DEBUG_RDP(...) do { } while (0)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user