diff options
Diffstat (limited to 'usr/src/lib/libc/inc/tsd.h')
-rw-r--r-- | usr/src/lib/libc/inc/tsd.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/usr/src/lib/libc/inc/tsd.h b/usr/src/lib/libc/inc/tsd.h index 004dc82846..58042b983c 100644 --- a/usr/src/lib/libc/inc/tsd.h +++ b/usr/src/lib/libc/inc/tsd.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -29,6 +28,10 @@ #pragma ident "%Z%%M% %I% %E% SMI" +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { _T_GETDATE = 0, _T_WCSTOK, @@ -55,6 +58,7 @@ typedef enum { _T_PWBUF, _T_GRBUF, _T_SPBUF, + _T_DOORBUF, _T_NUM_ENTRIES /* this *must* be the last member */ } __tsd_item_t; @@ -63,4 +67,8 @@ typedef enum { */ extern void *tsdalloc(__tsd_item_t, size_t, void (*)(void *)); +#ifdef __cplusplus +} +#endif + #endif /* _LIBC_INC_TSD_H */ |