public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: semaphore.h: clean namespace
@ 2021-07-29 15:45 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2021-07-29 15:45 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d4e7869ee4505e2861e3ccdee7c187e56e6df142
commit d4e7869ee4505e2861e3ccdee7c187e56e6df142
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Thu Jul 29 16:53:15 2021 +0200
Cygwin: semaphore.h: clean namespace
use underscored identifiers
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/include/semaphore.h | 20 ++++++++++----------
1 file 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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-29 15:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29 15:45 [newlib-cygwin] Cygwin: semaphore.h: clean namespace Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).