Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-07-07 15:36:27 -0400
committerEugene Tarassov2017-07-07 15:36:27 -0400
commit9d17bb4b1fee1d35fe30c905e6781b624485cefc (patch)
tree145468a0c49780bc91e4f6c00093cdf6f7fffd59
parenteed882fa73aafe9f437efa36bf3b1c4d0e2ee4fe (diff)
downloadorg.eclipse.tcf.agent-9d17bb4b1fee1d35fe30c905e6781b624485cefc.tar.gz
org.eclipse.tcf.agent-9d17bb4b1fee1d35fe30c905e6781b624485cefc.tar.xz
org.eclipse.tcf.agent-9d17bb4b1fee1d35fe30c905e6781b624485cefc.zip
TCF Agent: better code formatting
-rw-r--r--agent/tcf/framework/channel_lws.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/agent/tcf/framework/channel_lws.c b/agent/tcf/framework/channel_lws.c
index 85bc640b..f7bb5427 100644
--- a/agent/tcf/framework/channel_lws.c
+++ b/agent/tcf/framework/channel_lws.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2016 Wind River Systems, Inc.
+ * Copyright (c) 2016-2017 Wind River Systems, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
@@ -181,7 +181,7 @@ typedef struct SessionData {
typedef struct WSIUserData {
SessionData * data; /* session data */
- ChannelConnectInfo * args; /* connection args (client connection only) */
+ ChannelConnectInfo * args; /* connection args (client connection only) */
void * cb_arg;
} WSIUserData;
@@ -1577,7 +1577,7 @@ void channel_lws_get_properties(Channel * channel, char *** prop_names, char ***
*prop_cnt = c->data->prop_cnt;
}
-void ini_channel_lws() {
+void ini_channel_lws(void) {
static int initialized = 0;
pthread_t thread;
#if ENABLE_Epoll
@@ -1609,5 +1609,5 @@ void ini_channel_lws() {
dummy_socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);
pthread_mutex_init(&lws_list_mutex, NULL);
pthread_create(&thread, NULL, lws_service_thread, NULL);
- }
+}
#endif /* ENABLE_LibWebSockets */

Back to the top