summaryrefslogtreecommitdiff
path: root/proc/meminfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc/meminfo.h')
-rw-r--r--proc/meminfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc/meminfo.h b/proc/meminfo.h
index f6197fa..d60e263 100644
--- a/proc/meminfo.h
+++ b/proc/meminfo.h
@@ -182,6 +182,8 @@ struct meminfo_stack {
struct meminfo_result *head;
};
+struct meminfo_info;
+
#define MEMINFO_GET( info, actual_enum, type ) ( { \
struct meminfo_result *r = procps_meminfo_get( info, actual_enum ); \
@@ -191,8 +193,6 @@ struct meminfo_stack {
stack -> head [ relative_enum ] . result . type
-struct meminfo_info;
-
int procps_meminfo_new (struct meminfo_info **info);
int procps_meminfo_ref (struct meminfo_info *info);
int procps_meminfo_unref (struct meminfo_info **info);