diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-07-23 21:17:15 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-07-23 21:17:15 +0000 |
commit | a465907b05115a58a5c1178300875d8dc1119cd1 (patch) | |
tree | 0102be81724a1f54a8c13019736a2b01cc0cdbfb /lib/libmemstat/memstat_internal.h | |
parent | 4eb9d677d45bfe80d30ff8ae621a5246cc58790a (diff) | |
download | FreeBSD-src-a465907b05115a58a5c1178300875d8dc1119cd1.zip FreeBSD-src-a465907b05115a58a5c1178300875d8dc1119cd1.tar.gz |
Prefix two non-static libmemstat(3) internal functions with '_' symbols, to
try and discourage use outside the library.
Remove duplicate declaration of memstat_mtl_free() from memstat_internal.h,
as it's not internal, and the memstat.h definition suffices.
Diffstat (limited to 'lib/libmemstat/memstat_internal.h')
-rw-r--r-- | lib/libmemstat/memstat_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libmemstat/memstat_internal.h b/lib/libmemstat/memstat_internal.h index 61eb795..edbf562 100644 --- a/lib/libmemstat/memstat_internal.h +++ b/lib/libmemstat/memstat_internal.h @@ -113,9 +113,8 @@ struct memory_type { */ LIST_HEAD(memory_type_list, memory_type); -void memstat_mtl_free(struct memory_type_list *list); -struct memory_type *memstat_mt_allocate(struct memory_type_list *list, +struct memory_type *_memstat_mt_allocate(struct memory_type_list *list, int allocator, const char *name); -void memstat_mt_reset_stats(struct memory_type *mtp); +void _memstat_mt_reset_stats(struct memory_type *mtp); #endif /* !_MEMSTAT_INTERNAL_H_ */ |