use function pointer to free value

This commit is contained in:
Doug MacEachern committed 2004-12-05 20:48:35 +00:00
1 parent 72b3a4c55b
commit 6852882203
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ struct sigar_cache_entry_t {
typedef struct {
sigar_cache_entry_t **entries;
unsigned int count, size;
void (*free_value)(void *ptr);
} sigar_cache_t;
#endif /* SIGAR_UTIL_H */