library: reposition those 'info' structures in headers
For some unknown reason all the 'info' structures were declared between macros and function prototypes rather than right after all the other structure declarations. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -351,6 +351,8 @@ struct vmstat_stack {
|
||||
struct vmstat_result *head;
|
||||
};
|
||||
|
||||
struct vmstat_info;
|
||||
|
||||
|
||||
#define VMSTAT_GET( info, actual_enum, type ) ( { \
|
||||
struct vmstat_result *r = procps_vmstat_get( info, actual_enum ); \
|
||||
@@ -360,8 +362,6 @@ struct vmstat_stack {
|
||||
stack -> head [ relative_enum ] . result . type
|
||||
|
||||
|
||||
struct vmstat_info;
|
||||
|
||||
int procps_vmstat_new (struct vmstat_info **info);
|
||||
int procps_vmstat_ref (struct vmstat_info *info);
|
||||
int procps_vmstat_unref (struct vmstat_info **info);
|
||||
|
Reference in New Issue
Block a user