mirror of https://github.com/FreeRDP/FreeRDP
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 <freerdp/log.h>
|
||||||
|
|
||||||
|
#include "rdp.h"
|
||||||
#include "peer.h"
|
#include "peer.h"
|
||||||
|
|
||||||
#define TAG FREERDP_TAG("core.peer")
|
#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,
|
static HANDLE freerdp_peer_virtual_channel_open(freerdp_peer* client, const char* name,
|
||||||
UINT32 flags)
|
UINT32 flags)
|
||||||
{
|
{
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#define TAG FREERDP_TAG("core.rdp")
|
#define TAG FREERDP_TAG("core.rdp")
|
||||||
|
|
||||||
static const char* DATA_PDU_TYPE_STRINGS[80] =
|
const char* DATA_PDU_TYPE_STRINGS[80] =
|
||||||
{
|
{
|
||||||
"?", "?", /* 0x00 - 0x01 */
|
"?", "?", /* 0x00 - 0x01 */
|
||||||
"Update", /* 0x02 */
|
"Update", /* 0x02 */
|
||||||
|
|
|
@ -240,6 +240,7 @@ FREERDP_LOCAL void rdp_free(rdpRdp* rdp);
|
||||||
#define RDP_TAG FREERDP_TAG("core.rdp")
|
#define RDP_TAG FREERDP_TAG("core.rdp")
|
||||||
#ifdef WITH_DEBUG_RDP
|
#ifdef WITH_DEBUG_RDP
|
||||||
#define DEBUG_RDP(...) WLog_DBG(RDP_TAG, __VA_ARGS__)
|
#define DEBUG_RDP(...) WLog_DBG(RDP_TAG, __VA_ARGS__)
|
||||||
|
extern const char* DATA_PDU_TYPE_STRINGS[80];
|
||||||
#else
|
#else
|
||||||
#define DEBUG_RDP(...) do { } while (0)
|
#define DEBUG_RDP(...) do { } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue