Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-07-29 17:53:15 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-07-29 17:53:15 +0300
commitd4e7869ee4505e2861e3ccdee7c187e56e6df142 (patch)
treece12ecbf3cee2f9f0a81a2505b3bb02ee7d87bab /winsup/cygwin
parentad8730cc915a1aa980cf58c27850db76b6fbb293 (diff)
Cygwin: semaphore.h: clean namespace
use underscored identifiers Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/include/semaphore.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/winsup/cygwin/include/semaphore.h b/winsup/cygwin/include/semaphore.h
index 89a43fff2..036eaceea 100644
--- a/winsup/cygwin/include/semaphore.h
+++ b/winsup/cygwin/include/semaphore.h
@@ -25,16 +25,16 @@ extern "C"
#define SEM_FAILED ((sem_t *) 0)
/* Semaphores */
- int sem_init (sem_t *sem, int pshared, unsigned int value);
- int sem_destroy (sem_t *sem);
- sem_t *sem_open (const char *name, int oflag, ...);
- int sem_close (sem_t *sem);
- int sem_unlink (const char *name);
- int sem_wait (sem_t *sem);
- int sem_trywait (sem_t *sem);
- int sem_timedwait (sem_t *sem, const struct timespec *abstime);
- int sem_post (sem_t *sem);
- int sem_getvalue (sem_t *sem, int *sval);
+ int sem_init (sem_t *__sem, int __pshared, unsigned int __value);
+ int sem_destroy (sem_t *__sem);
+ sem_t *sem_open (const char *__name, int __oflag, ...);
+ int sem_close (sem_t *__sem);
+ int sem_unlink (const char *__name);
+ int sem_wait (sem_t *__sem);
+ int sem_trywait (sem_t *__sem);
+ int sem_timedwait (sem_t *__sem, const struct timespec *__abstime);
+ int sem_post (sem_t *__sem);
+ int sem_getvalue (sem_t *__sem, int *__sval);
#ifdef __cplusplus
}