diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-07-17 13:54:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-07-17 13:54:46 +0000 |
commit | 82bb8e24de2d0f1c63aa8925bf17958bdbdf2153 (patch) | |
tree | da024d962a84b0910b282ebbf49246d400494056 | |
parent | d0ede4c6a3aac90484018af663fe75f8049d082b (diff) | |
download | FreeBSD-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.h | 2 |
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_ */ |