Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/sys Pull up revision 1.23 (requested by kleink in tic...



details:   https://anonhg.NetBSD.org/src/rev/7e14312c3a20
branches:  netbsd-3
changeset: 574929:7e14312c3a20
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Mar 19 13:23:15 2005 +0000

description:
Pull up revision 1.23 (requested by kleink in ticket #14):
Make sure to declare functions with C linkage; should fix PR bin/29730
from Juergen Hannken-Illjes.

diffstat:

 sys/sys/select.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r ff99399271e4 -r 7e14312c3a20 sys/sys/select.h
--- a/sys/sys/select.h  Sat Mar 19 13:21:25 2005 +0000
+++ b/sys/sys/select.h  Sat Mar 19 13:23:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: select.h,v 1.21 2005/03/10 00:25:45 kleink Exp $       */
+/*     $NetBSD: select.h,v 1.21.2.1 2005/03/19 13:23:15 tron Exp $     */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -78,11 +78,13 @@
 #include <sys/sigtypes.h>
 #include <time.h>
 
+__BEGIN_DECLS
 int    pselect(int, fd_set * __restrict, fd_set * __restrict,
            fd_set * __restrict, const struct timespec * __restrict,
            const sigset_t * __restrict);
 int    select(int, fd_set * __restrict, fd_set * __restrict,
            fd_set * __restrict, struct timeval * __restrict);
+__END_DECLS
 #endif /* _KERNEL */
 
 #endif /* !_SYS_SELECT_H_ */



Home | Main Index | Thread Index | Old Index