diff options
| author | proven <proven@NetBSD.org> | 1994-02-07 22:02:26 +0000 |
|---|---|---|
| committer | proven <proven@NetBSD.org> | 1994-02-07 22:02:26 +0000 |
| commit | 0ddc616639d6536ea4ec43cb1c482f1ab9cc25a4 (patch) | |
| tree | 536eb985a4fff1b2f88cdf7fc76e1e4cebd3b262 /lib/libpthread/include/util.h | |
| parent | 21f4b3b04c1e5cb64e95a000a1ea81a6cfaf9502 (diff) | |
RCS ids added.
pthread_once() defines moved to separate header file.
Diffstat (limited to 'lib/libpthread/include/util.h')
| -rw-r--r-- | lib/libpthread/include/util.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libpthread/include/util.h b/lib/libpthread/include/util.h index 05e659a0f5a..bdd9106efef 100644 --- a/lib/libpthread/include/util.h +++ b/lib/libpthread/include/util.h @@ -1,5 +1,5 @@ /* ==== util.h ============================================================ - * Copyright (c) 1991, 1992, 1993 by Chris Provenzano, proven@mit.edu + * Copyright (c) 1991, 1992, 1993 by Chris Provenzano, proven@mit.edu * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -29,6 +29,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * $Id: util.h,v 1.3 1994/02/07 22:02:38 proven Exp $ $provenid: util.h,v 1.15 1994/02/07 03:32:07 proven Exp $ + * * Description : Header file for generic utility functions. * * 91/08/31 proven - Added exchange. @@ -39,10 +41,16 @@ * 91/03/06 proven - Added getint. */ +#ifndef _PTHREAD_UTIL_H +#define _PTHREAD_UTIL_H + #ifndef NULL #define NULL 0 #endif +/* Stuff only pthread internals really uses */ +#if defined(PTHREAD_KERNEL) + #undef FALSE #undef TRUE @@ -75,3 +83,7 @@ typedef enum Boolean { #define DEBUG2(s) #define DEBUG3(s) #endif + +#endif + +#endif |
