diff options
| author | Joseph Henry <[email protected]> | 2016-09-01 12:26:42 -0700 |
|---|---|---|
| committer | Joseph Henry <[email protected]> | 2016-09-01 12:26:42 -0700 |
| commit | 10963eab8159dbea0f906ec03ea6d02702c5611a (patch) | |
| tree | 13f0e7407fbda11492dcaf79c27788480f5c58a2 /src/SDK_Service.cpp | |
| parent | 530d704557fd857e3c4234547b30744af31f8723 (diff) | |
abandoning traditional socket API parameter naming convention for something that actually makes sense0.3.3
Diffstat (limited to 'src/SDK_Service.cpp')
| -rw-r--r-- | src/SDK_Service.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/SDK_Service.cpp b/src/SDK_Service.cpp index ea809ca..54e512c 100644 --- a/src/SDK_Service.cpp +++ b/src/SDK_Service.cpp @@ -331,9 +331,7 @@ char *zts_get_homepath() { // Typically used on iOS/OSX #if !defined(__ANDROID__) - /* - * Starts a service thread and performs basic setup tasks - */ + // Starts a service thread and performs basic setup tasks void init_service(int key, const char * path) { givenHomeDir = path; pthread_key_create(&thr_id_key, NULL); @@ -346,9 +344,7 @@ char *zts_get_homepath() { rpcNWID = nwid; init_service(key, path); } - /* - * Enables or disables intercept for current thread using key in thread-local storage - */ + // Enables or disables intercept for current thread using key in thread-local storage void set_intercept_status(int mode) { #if defined(__APPLE__) fprintf(stderr, "set_intercept_status(mode=%d): tid = %d\n", mode, pthread_mach_thread_np(pthread_self())); |
