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:
@@ -86,6 +86,8 @@ struct diskstats_reaped {
|
||||
struct diskstats_stack **stacks;
|
||||
};
|
||||
|
||||
struct diskstats_info;
|
||||
|
||||
|
||||
#define DISKSTATS_TYPE_DISK -11111
|
||||
#define DISKSTATS_TYPE_PARTITION -22222
|
||||
@@ -98,8 +100,6 @@ struct diskstats_reaped {
|
||||
stack -> head [ relative_enum ] . result . type
|
||||
|
||||
|
||||
struct diskstats_info;
|
||||
|
||||
int procps_diskstats_new (struct diskstats_info **info);
|
||||
int procps_diskstats_ref (struct diskstats_info *info);
|
||||
int procps_diskstats_unref (struct diskstats_info **info);
|
||||
|
Reference in New Issue
Block a user