summaryrefslogtreecommitdiffstats
path: root/src/plugin_macos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin_macos.h')
-rw-r--r--src/plugin_macos.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin_macos.h b/src/plugin_macos.h
index a21e5601..6ccf3e86 100644
--- a/src/plugin_macos.h
+++ b/src/plugin_macos.h
@@ -3,9 +3,9 @@
void *macos_main(void *ptr);
-#define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
+#define GETSYSCTL_BY_NAME(name, var) getsysctl_by_name(name, &(var), sizeof(var))
-extern int getsysctl(const char *name, void *ptr, size_t len);
+extern int getsysctl_by_name(const char *name, void *ptr, size_t len);
extern int do_macos_sysctl(int update_every, usec_t dt);
extern int do_macos_mach_smi(int update_every, usec_t dt);