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:
Jim Warner
2021-12-15 00:00:00 -06:00
committed by Craig Small
parent 957b74292f
commit b2c4fcfddb
6 changed files with 12 additions and 12 deletions

View File

@@ -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);