From 2a7770226452ee74e27513a02932aa9890dca8c0 Mon Sep 17 00:00:00 2001 From: kleink Date: Fri, 18 Mar 2005 16:11:14 +0000 Subject: [PATCH] Make sure to declare functions with C linkage; should fix PR bin/29730 from Juergen Hannken-Illjes. --- sys/sys/select.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/select.h b/sys/sys/select.h index 71dc9e78019a..0d2c32304fb8 100644 --- a/sys/sys/select.h +++ b/sys/sys/select.h @@ -1,4 +1,4 @@ -/* $NetBSD: select.h,v 1.22 2005/03/17 20:39:17 kleink Exp $ */ +/* $NetBSD: select.h,v 1.23 2005/03/18 16:11:14 kleink Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -65,11 +65,13 @@ selnotify(struct selinfo *sip, long knhint) #include #include +__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_ */