diff options
author | Nathan Scott <nathans@redhat.com> | 2021-03-03 10:59:28 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-03-04 13:40:59 +1100 |
commit | 61ef1134d97dbcf8b4ee069b36addf3c706ff55c (patch) | |
tree | 2cc478d92938b01f1d861350538742df6cea7e9e /generic/openzfs_sysctl.h | |
parent | 5b50ae3aa3a418f3f84ff2fdb172ab447753814f (diff) |
Move generic (shared) code into its own sub-directory
Code that is shared across some (but not all) platforms
is moved into a 'generic' home. Makefile.am cleanups to
match plus some minor alphabetic reordering/formatting.
As discussed in https://github.com/htop-dev/htop/pull/553
Diffstat (limited to 'generic/openzfs_sysctl.h')
-rw-r--r-- | generic/openzfs_sysctl.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/generic/openzfs_sysctl.h b/generic/openzfs_sysctl.h new file mode 100644 index 00000000..4cf5485e --- /dev/null +++ b/generic/openzfs_sysctl.h @@ -0,0 +1,16 @@ +#ifndef HEADER_openzfs_sysctl +#define HEADER_openzfs_sysctl +/* +htop - generic/openzfs_sysctl.h +(C) 2014 Hisham H. Muhammad +Released under the GNU GPLv2, see the COPYING file +in the source distribution for its full text. +*/ + +#include "zfs/ZfsArcStats.h" + +void openzfs_sysctl_init(ZfsArcStats* stats); + +void openzfs_sysctl_updateArcStats(ZfsArcStats* stats); + +#endif |