summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_mppc_enc.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /libxrdp/xrdp_mppc_enc.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'libxrdp/xrdp_mppc_enc.c')
-rw-r--r--libxrdp/xrdp_mppc_enc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libxrdp/xrdp_mppc_enc.c b/libxrdp/xrdp_mppc_enc.c
index 93ff84a2..0420876a 100644
--- a/libxrdp/xrdp_mppc_enc.c
+++ b/libxrdp/xrdp_mppc_enc.c
@@ -431,7 +431,7 @@ do \
* @return struct xrdp_mppc_enc* or nil on failure
*/
-struct xrdp_mppc_enc * APP_CC
+struct xrdp_mppc_enc *
mppc_enc_new(int protocol_type)
{
struct xrdp_mppc_enc *enc;
@@ -498,7 +498,7 @@ mppc_enc_new(int protocol_type)
* @param enc struct to be deinited
*/
-void APP_CC
+void
mppc_enc_free(struct xrdp_mppc_enc *enc)
{
if (enc == 0)
@@ -521,7 +521,7 @@ mppc_enc_free(struct xrdp_mppc_enc *enc)
* @return TRUE on success, FALSE on failure
*/
-static int APP_CC
+static int
compress_rdp_4(struct xrdp_mppc_enc *enc, tui8 *srcData, int len)
{
/* RDP 4.0 encoding not yet implemented */
@@ -538,7 +538,7 @@ compress_rdp_4(struct xrdp_mppc_enc *enc, tui8 *srcData, int len)
* @return TRUE on success, FALSE on failure
*/
-static int APP_CC
+static int
compress_rdp_5(struct xrdp_mppc_enc *enc, tui8 *srcData, int len)
{
char *outputBuffer; /* points to enc->outputBuffer */
@@ -1007,7 +1007,7 @@ compress_rdp_5(struct xrdp_mppc_enc *enc, tui8 *srcData, int len)
* @return TRUE on success, FALSE on failure
*/
-int APP_CC
+int
compress_rdp(struct xrdp_mppc_enc *enc, tui8 *srcData, int len)
{
if ((enc == 0) || (srcData == 0) || (len <= 0) || (len > enc->buf_len))