OSDN Git Service

Remove declaration of pthread_cond_timedwait_relative_np.
authorElliott Hughes <enh@google.com>
Mon, 9 May 2016 20:29:26 +0000 (13:29 -0700)
committerElliott Hughes <enh@google.com>
Mon, 9 May 2016 20:29:26 +0000 (13:29 -0700)
It's been deprecated long enough, and nothing left in the tree (except
code that isn't even built) is still using it.

Bug: http://b/27918161
Change-Id: Ibf824c1063d49484037de5c03b98bec5bdd4dcf6

libc/include/pthread.h

index c16126b..b4a48f0 100644 (file)
@@ -281,14 +281,6 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t*, int);
         __pthread_cleanup_pop( &__cleanup, (execute)); \
     } while (0);                                       \
 
-
-#if !defined(__LP64__)
-
-// Bionic additions that are deprecated even in the 32-bit ABI.
-int pthread_cond_timedwait_relative_np(pthread_cond_t*, pthread_mutex_t*, const struct timespec*) __attribute__((deprecated("use pthread_cond_timedwait instead")));
-
-#endif /* !defined(__LP64__) */
-
 __END_DECLS
 
 #endif /* _PTHREAD_H_ */