diff options
author | Ken Raeburn <raeburn@mit.edu> | 2007-06-20 01:19:59 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2007-06-20 01:19:59 +0000 |
commit | 78ec90d925e1f672639762e6c9fa674bf7ff0a64 (patch) | |
tree | 3aad3df3133e6e0f2922f575b9da94630543f433 /src/windows/identity/kherr/kherrmain.c | |
parent | d275e06d0cb0f248aa54a6f134a59f84aa563e14 (diff) | |
download | krb5-78ec90d925e1f672639762e6c9fa674bf7ff0a64.tar.gz krb5-78ec90d925e1f672639762e6c9fa674bf7ff0a64.tar.xz krb5-78ec90d925e1f672639762e6c9fa674bf7ff0a64.zip |
set svn:eol-style to native for *.[ch]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19596 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/identity/kherr/kherrmain.c')
-rw-r--r-- | src/windows/identity/kherr/kherrmain.c | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/src/windows/identity/kherr/kherrmain.c b/src/windows/identity/kherr/kherrmain.c index 0ae2292046..c7afd7bc25 100644 --- a/src/windows/identity/kherr/kherrmain.c +++ b/src/windows/identity/kherr/kherrmain.c @@ -1,52 +1,52 @@ -/*
- * Copyright (c) 2005 Massachusetts Institute of Technology
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy,
- * modify, merge, publish, distribute, sublicense, and/or sell copies
- * of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-/* $Id$ */
-
-#include<kherrinternal.h>
-
-void
-kherr_process_attach(void) {
- InitializeCriticalSection(&cs_error);
- tls_error = TlsAlloc();
-}
-
-void
-kherr_process_detach(void) {
- TlsFree(tls_error);
- DeleteCriticalSection(&cs_error);
-}
-
-void
-kherr_thread_attach(void) {
- /* We don't call attach_this_thread() here since we only
- want to create a context stack for this thread if
- someone wants one. */
- /* attach_this_thread(); */
-}
-
-void
-kherr_thread_detach(void) {
- detach_this_thread();
-}
+/* + * Copyright (c) 2005 Massachusetts Institute of Technology + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, copy, + * modify, merge, publish, distribute, sublicense, and/or sell copies + * of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +/* $Id$ */ + +#include<kherrinternal.h> + +void +kherr_process_attach(void) { + InitializeCriticalSection(&cs_error); + tls_error = TlsAlloc(); +} + +void +kherr_process_detach(void) { + TlsFree(tls_error); + DeleteCriticalSection(&cs_error); +} + +void +kherr_thread_attach(void) { + /* We don't call attach_this_thread() here since we only + want to create a context stack for this thread if + someone wants one. */ + /* attach_this_thread(); */ +} + +void +kherr_thread_detach(void) { + detach_this_thread(); +} |