diff options
author | Elliott Hughes <enh@google.com> | 2017-08-16 16:30:54 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-08-16 16:30:54 -0700 |
commit | 079bff4fa52b0c3c76057451cc9cdecf1827fce0 (patch) | |
tree | 1f2667df4a1ed2dd79cb53a6231cb88d3d9ade13 /libc/include/semaphore.h | |
parent | 67e7bf137e00a6c9ef79396e40be6b1705a2758c (diff) | |
download | android_bionic-079bff4fa52b0c3c76057451cc9cdecf1827fce0.tar.gz android_bionic-079bff4fa52b0c3c76057451cc9cdecf1827fce0.tar.bz2 android_bionic-079bff4fa52b0c3c76057451cc9cdecf1827fce0.zip |
Name function arguments in libc headers for Studio.
Second batch of headers...
Bug: http://b/64613623
Test: builds
Change-Id: I8eef043dbf32afee8ff814e9d005f46aee8fa21f
Diffstat (limited to 'libc/include/semaphore.h')
-rw-r--r-- | libc/include/semaphore.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libc/include/semaphore.h b/libc/include/semaphore.h index 218f22a39..7e3dc1c42 100644 --- a/libc/include/semaphore.h +++ b/libc/include/semaphore.h @@ -44,19 +44,19 @@ typedef struct { #define SEM_FAILED __BIONIC_CAST(reinterpret_cast, sem_t*, 0) -int sem_destroy(sem_t*); -int sem_getvalue(sem_t*, int*); -int sem_init(sem_t*, int, unsigned int); -int sem_post(sem_t*); -int sem_timedwait(sem_t*, const struct timespec*); -int sem_trywait(sem_t*); -int sem_wait(sem_t*); +int sem_destroy(sem_t* __sem); +int sem_getvalue(sem_t* __sem, int* __value); +int sem_init(sem_t* __sem, int __shared, unsigned int __value); +int sem_post(sem_t* __sem); +int sem_timedwait(sem_t* __sem, const struct timespec* __ts); +int sem_trywait(sem_t* __sem); +int sem_wait(sem_t* __sem); /* These aren't actually implemented. */ -sem_t* sem_open(const char*, int, ...); -int sem_close(sem_t*); -int sem_unlink(const char*); +sem_t* sem_open(const char* __name, int _flags, ...); +int sem_close(sem_t* __sem); +int sem_unlink(const char* __name); __END_DECLS -#endif /* _SEMAPHORE_H */ +#endif |