summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-07-17 13:54:46 +0000
committerrwatson <rwatson@FreeBSD.org>2005-07-17 13:54:46 +0000
commit82bb8e24de2d0f1c63aa8925bf17958bdbdf2153 (patch)
treeda024d962a84b0910b282ebbf49246d400494056
parentd0ede4c6a3aac90484018af663fe75f8049d082b (diff)
downloadFreeBSD-src-82bb8e24de2d0f1c63aa8925bf17958bdbdf2153.zip
FreeBSD-src-82bb8e24de2d0f1c63aa8925bf17958bdbdf2153.tar.gz
Add __BEGIN_DECLS and __END_DECLS to make libmemstat(3) more C++-friendly.
MFC after: 1 week
-rw-r--r--lib/libmemstat/memstat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libmemstat/memstat.h b/lib/libmemstat/memstat.h
index 5269a33..0743693 100644
--- a/lib/libmemstat/memstat.h
+++ b/lib/libmemstat/memstat.h
@@ -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_ */
OpenPOWER on IntegriCloud