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

@@ -228,13 +228,13 @@ struct pids_fetch {
struct pids_stack **stacks;
};
struct pids_info;
#define PIDS_VAL( relative_enum, type, stack, info ) \
stack -> head [ relative_enum ] . result . type
struct pids_info;
int procps_pids_new (struct pids_info **info, enum pids_item *items, int numitems);
int procps_pids_ref (struct pids_info *info);
int procps_pids_unref (struct pids_info **info);