From 82bb8e24de2d0f1c63aa8925bf17958bdbdf2153 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 17 Jul 2005 13:54:46 +0000 Subject: Add __BEGIN_DECLS and __END_DECLS to make libmemstat(3) more C++-friendly. MFC after: 1 week --- lib/libmemstat/memstat.h | 2 ++ 1 file changed, 2 insertions(+) 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_ */ -- cgit v1.1