diff options
author | Roland McGrath <roland@gnu.org> | 2001-03-31 23:10:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-03-31 23:10:55 +0000 |
commit | f057ffeca0c5f6462293e9bc1f841ff8b7beb8f6 (patch) | |
tree | 371579843b52209cef9c26678f562d2a8e9d34e2 /libthreads/cthread_data.c | |
parent | 181b716d654861e688a0b2e97c5467df3e6d5c5c (diff) |
2001-03-31 Roland McGrath <roland@frob.com>
* cthreads.h: Fix obsolescent #endif syntax.
* cthread_internals.h: Likewise.
* cancel-cond.c: Likewise.
* stack.c: Likewise.
* cthreads.c: Likewise.
* cprocs.c: Likewise.
* call.c: Likewise.
* i386/thread.c: Likewise.
* cthread_data.c: Likewise.
Diffstat (limited to 'libthreads/cthread_data.c')
-rw-r--r-- | libthreads/cthread_data.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/libthreads/cthread_data.c b/libthreads/cthread_data.c index 0814130d..12d10610 100644 --- a/libthreads/cthread_data.c +++ b/libthreads/cthread_data.c @@ -1,4 +1,4 @@ -/* +/* * Mach Operating System * Copyright (c) 1991 Carnegie-Mellon University * All rights reserved. The CMU software License Agreement specifies @@ -6,12 +6,15 @@ */ /* * HISTORY - * $Log: cthread_data.c,v $ + * $Log: cthread_data.c,v $ + * Revision 1.1 1992/10/06 18:31:04 mib + * entered into RCS + * * Revision 2.2 92/05/23 11:35:17 jfriedl * Snarfed from multi-server sources at CMU. * No stdio (for use with single-server). - * - * + * + * * Revision 2.2 91/03/25 14:14:45 jjc * For compatibility with cthread_data: * 1) Added routines, cthread_data and cthread_set_data, @@ -24,16 +27,16 @@ * Made simple implementation from POSIX threads specification for * thread specific data. * [91/03/07 jjc] - * + * */ #include <cthreads.h> #ifdef CTHREAD_DATA #define CTHREAD_KEY_FIRST (cthread_key_t)1 /* first free key */ -#else CTHREAD_DATA +#else /* CTHREAD_DATA */ #define CTHREAD_KEY_FIRST CTHREAD_KEY_NULL /* first free key */ -#endif CTHREAD_DATA +#endif /* CTHREAD_DATA */ #define CTHREAD_KEY_MAX (cthread_key_t)8 /* max. no. of keys */ #define CTHREAD_KEY_NULL (cthread_key_t)0 @@ -42,7 +45,7 @@ * Key reserved for cthread_data */ #define CTHREAD_KEY_RESERVED CTHREAD_KEY_NULL -#endif CTHREAD_DATA +#endif /* CTHREAD_DATA */ /* lock protecting key creation */ @@ -185,4 +188,4 @@ cthread_t t; ASSERT(t == self); } } -#endif CTHREAD_DATA +#endif /* CTHREAD_DATA */ |