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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user