The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/remote: Tidy and comment

+6 -5
+4 -4
src/xrt/drivers/remote/r_hub.c
··· 64 64 * 65 65 */ 66 66 67 - int 67 + static int 68 68 setup_accept_fd(struct r_hub *r) 69 69 { 70 70 struct sockaddr_in server_address = {0}; ··· 133 133 } 134 134 } 135 135 136 - int 136 + static int 137 137 do_accept(struct r_hub *r) 138 138 { 139 139 struct sockaddr_in addr = {0}; ··· 198 198 return 0; 199 199 } 200 200 201 - void * 201 + static void * 202 202 run_thread(void *ptr) 203 203 { 204 204 struct r_hub *r = (struct r_hub *)ptr; ··· 239 239 return NULL; 240 240 } 241 241 242 - void 242 + static void 243 243 r_hub_destroy(struct xrt_system_devices *xsysd) 244 244 { 245 245 struct r_hub *r = (struct r_hub *)xsysd;
+2 -1
src/xrt/drivers/remote/r_internal.h
··· 19 19 20 20 #include "r_interface.h" 21 21 22 + 22 23 #ifdef __cplusplus 23 24 extern "C" { 24 25 #endif ··· 46 47 //! The latest data received. 47 48 struct r_remote_data latest; 48 49 49 - 50 + //! Incoming connection socket. 50 51 int accept_fd; 51 52 52 53 uint16_t port;