Add __BEGIN_DECLS and __END_DECLS to make libmemstat(3) more C++-friendly.

MFC after:	1 week
This commit is contained in:
Robert Watson 2005-07-17 13:54:46 +00:00
parent 634eb5fb07
commit 449ce0e42f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148094

View File

@ -75,6 +75,7 @@ struct memory_type;
*/
struct memory_type_list;
__BEGIN_DECLS
/*
* Functions for managing memory type and statistics data.
*/
@ -138,5 +139,6 @@ void memstat_set_percpu_caller_uint64(struct memory_type *mtp,
int cpu, int index, uint64_t value);
uint64_t memstat_get_percpu_free(const struct memory_type *mtp,
int cpu);
__END_DECLS
#endif /* !_MEMSTAT_H_ */