diff options
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/internaltypes.h')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/internaltypes.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/internaltypes.h b/nptl/sysdeps/unix/sysv/linux/internaltypes.h index 24ead1b5ce..9ae35eff9a 100644 --- a/nptl/sysdeps/unix/sysv/linux/internaltypes.h +++ b/nptl/sysdeps/unix/sysv/linux/internaltypes.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -20,6 +20,8 @@ #ifndef _INTERNALTYPES_H #define _INTERNALTYPES_H 1 +#include <stdint.h> + struct pthread_attr { @@ -127,4 +129,11 @@ struct sem unsigned int count; }; + +/* Compatibility type for old conditional variable interfaces. */ +typedef struct +{ + pthread_cond_t *cond; +} pthread_cond_2_0_t; + #endif /* internaltypes.h */ |