From: Oliver Kurth Date: Fri, 15 Sep 2017 18:22:55 +0000 (-0700) Subject: vthreadBase.c: Update copyright and cleanup tabs and trailing whitespace. X-Git-Tag: stable-10.2.0~612 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8ea36fdc44d110bf8a0257782aa91d6f3555876;p=thirdparty%2Fopen-vm-tools.git vthreadBase.c: Update copyright and cleanup tabs and trailing whitespace. --- diff --git a/open-vm-tools/lib/misc/vthreadBase.c b/open-vm-tools/lib/misc/vthreadBase.c index 7b4c4d01a..44df69380 100644 --- a/open-vm-tools/lib/misc/vthreadBase.c +++ b/open-vm-tools/lib/misc/vthreadBase.c @@ -349,7 +349,7 @@ VThreadBaseSetLocal(VThreadLocal local, void *value) */ static INLINE void * -VThreadBaseGetLocal(VThreadLocal local) +VThreadBaseGetLocal(VThreadLocal local) { void *result; #ifdef HAVE_TLS @@ -359,7 +359,7 @@ VThreadBaseGetLocal(VThreadLocal local) ASSERT(local == VTHREAD_LOCAL_ID); result = (void*)(uintptr_t)tlsIDCache; } -#else +#else VThreadBaseKeyType key; Atomic_Int *keyPtr; @@ -369,7 +369,7 @@ VThreadBaseGetLocal(VThreadLocal local) if (UNLIKELY(key == VTHREADBASE_INVALID_KEY)) { VThreadBaseInitKeys(); key = Atomic_Read(keyPtr); - } + } ASSERT(VThreadBaseAreKeysInited()); #if defined _WIN32 @@ -747,7 +747,7 @@ VThreadBase_ForgetSelf(void) * * Override the default thread name with a new name. * - * Historical: this subsumes the behavior of the old + * Historical: this subsumes the behavior of the old * lib/nothread VThread_Init, replacing it with something that is * optional. * @@ -1064,7 +1064,7 @@ VThreadBaseInit(void) * See bugs 295686 & 477318. Here, the problem is that we could allocate * two VThreadIDs (via a signal during the NoID callback). */ - + NO_ASYNC_SIGNALS_START; if (VThreadBaseGetBase() == NULL) { (*vthreadBaseGlobals.noIDFunc)();