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

MFC after:	1 week
This commit is contained in:
rwatson 2005-07-17 13:54:46 +00:00
parent d0ede4c6a3
commit 82bb8e24de

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_ */