diff options
Diffstat (limited to 'sys/sys/_cpuset.h')
-rw-r--r-- | sys/sys/_cpuset.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/sys/_cpuset.h b/sys/sys/_cpuset.h index 9033acb9ba14..fb39420238c8 100644 --- a/sys/sys/_cpuset.h +++ b/sys/sys/_cpuset.h @@ -1,4 +1,4 @@ -/*- +#/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org> @@ -49,4 +49,11 @@ __BITSET_DEFINE(_cpuset, CPU_SETSIZE); typedef struct _cpuset cpuset_t; +#ifndef _KERNEL +__BEGIN_DECLS +cpuset_t *__cpuset_alloc(size_t set_size); +void __cpuset_free(cpuset_t *ptr); +__END_DECLS +#endif + #endif /* !_SYS__CPUSET_H_ */ |