public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: semaphore.h: clean namespace Date: Thu, 29 Jul 2021 15:45:39 +0000 (GMT) [thread overview] Message-ID: <20210729154539.E123739DC4D3@sourceware.org> (raw) 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 }
reply other threads:[~2021-07-29 15:45 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210729154539.E123739DC4D3@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).