summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-12 05:11:51 +0000
committerjb <jb@FreeBSD.org>1998-05-12 05:11:51 +0000
commita9b617c2dcf7cd1574b4930586c5e9ea52b8db6d (patch)
tree14c181c0d0453723e8ba79caa480449419e3fb52
parente808ec6c240ba5d862451966eae5f7568191167b (diff)
downloadFreeBSD-src-a9b617c2dcf7cd1574b4930586c5e9ea52b8db6d.zip
FreeBSD-src-a9b617c2dcf7cd1574b4930586c5e9ea52b8db6d.tar.gz
Add C++ support.
Submitted by: Russell L. Carter <rcarter@pinyon.org> fixes omniORB25 built with g++-2.8.1 on -current
-rw-r--r--sys/posix4/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/posix4/sched.h b/sys/posix4/sched.h
index bd04933..374c244 100644
--- a/sys/posix4/sched.h
+++ b/sys/posix4/sched.h
@@ -57,6 +57,7 @@ struct sched_param
#ifndef KERNEL
#include <sys/cdefs.h>
+__BEGIN_DECLS
int sched_setparam __P((pid_t, const struct sched_param *));
int sched_getparam __P((pid_t, struct sched_param *));
@@ -67,6 +68,7 @@ int sched_yield __P((void));
int sched_get_priority_max __P((int));
int sched_get_priority_min __P((int));
int sched_rr_get_interval __P((pid_t, struct timespec *));
+__END_DECLS
#endif /* KERNEL */
OpenPOWER on IntegriCloud