public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: machine/_arc4random.h: Fix copy/paste bug
@ 2024-01-29 15:43 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2024-01-29 15:43 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6252fd0265347032c46c95367895ddb838856bd2

commit 6252fd0265347032c46c95367895ddb838856bd2
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Mon Jan 29 16:42:50 2024 +0100
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Mon Jan 29 16:42:50 2024 +0100

    Cygwin: machine/_arc4random.h: Fix copy/paste bug
    
    Remove a stray  __END_DECLS.  It didn't hurt in the only
    (plain C) file including this header, but still...
    
    Fixes: 030a762535c1 ("Cygwin: fix arc4random after fork(2)")
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/include/machine/_arc4random.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/winsup/cygwin/include/machine/_arc4random.h b/winsup/cygwin/include/machine/_arc4random.h
index fd3970f64ab2..2f3347e33abf 100644
--- a/winsup/cygwin/include/machine/_arc4random.h
+++ b/winsup/cygwin/include/machine/_arc4random.h
@@ -35,5 +35,4 @@ _arc4random_forkdetect(void)
 }
 #define _ARC4RANDOM_FORKDETECT() _arc4random_forkdetect ()
 
-__END_DECLS
 #endif /* _MACHINE_ARC4RANDOM_H */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-29 15:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 15:43 [newlib-cygwin/main] Cygwin: machine/_arc4random.h: Fix copy/paste bug 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).