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

@@ -119,6 +119,8 @@ struct stat_reaped {
struct stat_reap *numa;
};
struct stat_info;
// STAT_TIC_ID value for /proc/stat cpu summary
#define STAT_SUMMARY_ID -11111
@@ -135,8 +137,6 @@ struct stat_reaped {
stack -> head [ relative_enum ] . result . type
struct stat_info;
int procps_stat_new (struct stat_info **info);
int procps_stat_ref (struct stat_info *info);
int procps_stat_unref (struct stat_info **info);