diff options
author | Pavel Roskin <plroskin@gmail.com> | 2017-03-12 09:35:00 -0700 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-03-14 00:21:48 -0700 |
commit | 6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch) | |
tree | 951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /sesman/tools | |
parent | 8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff) | |
download | xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip |
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'sesman/tools')
-rw-r--r-- | sesman/tools/sesrun.c | 2 | ||||
-rw-r--r-- | sesman/tools/tcp.c | 6 | ||||
-rw-r--r-- | sesman/tools/tcp.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sesman/tools/sesrun.c b/sesman/tools/sesrun.c index 11a807f1..b9bca988 100644 --- a/sesman/tools/sesrun.c +++ b/sesman/tools/sesrun.c @@ -34,7 +34,7 @@ struct config_sesman g_cfg; /* config.h */ /******************************************************************************/ -int DEFAULT_CC +int main(int argc, char **argv) { int sck; diff --git a/sesman/tools/tcp.c b/sesman/tools/tcp.c index dbb5e178..e6fe7888 100644 --- a/sesman/tools/tcp.c +++ b/sesman/tools/tcp.c @@ -37,7 +37,7 @@ #include <string.h> /*****************************************************************************/ -int DEFAULT_CC +int tcp_force_recv(int sck, char *data, int len) { int rcvd; @@ -87,7 +87,7 @@ tcp_force_recv(int sck, char *data, int len) } /*****************************************************************************/ -int DEFAULT_CC +int tcp_force_send(int sck, char *data, int len) { int sent; @@ -137,7 +137,7 @@ tcp_force_send(int sck, char *data, int len) } /*****************************************************************************/ -int DEFAULT_CC +int tcp_bind(int sck, char *addr, char *port) { struct sockaddr_in s; diff --git a/sesman/tools/tcp.h b/sesman/tools/tcp.h index 6697c662..e436ccd4 100644 --- a/sesman/tools/tcp.h +++ b/sesman/tools/tcp.h @@ -36,7 +36,7 @@ * @return 0 on success, 1 on error * */ -int DEFAULT_CC +int tcp_force_recv(int sck, char* data, int len); /** @@ -48,7 +48,7 @@ tcp_force_recv(int sck, char* data, int len); * @return 0 on success, 1 on error * */ -int DEFAULT_CC +int tcp_force_send(int sck, char* data, int len); /** @@ -60,7 +60,7 @@ tcp_force_send(int sck, char* data, int len); * @return 0 on success, -1 on error * */ -int DEFAULT_CC +int tcp_bind(int sck, char* addr, char* port); #endif |