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:
@@ -95,6 +95,8 @@ struct slabinfo_reaped {
|
||||
struct slabinfo_stack **stacks;
|
||||
};
|
||||
|
||||
struct slabinfo_info;
|
||||
|
||||
|
||||
#define SLABINFO_GET( info, actual_enum, type ) ( { \
|
||||
struct slabinfo_result *r = procps_slabinfo_get( info, actual_enum ); \
|
||||
@@ -104,8 +106,6 @@ struct slabinfo_reaped {
|
||||
stack -> head [ relative_enum ] . result . type
|
||||
|
||||
|
||||
struct slabinfo_info;
|
||||
|
||||
int procps_slabinfo_new (struct slabinfo_info **info);
|
||||
int procps_slabinfo_ref (struct slabinfo_info *info);
|
||||
int procps_slabinfo_unref (struct slabinfo_info **info);
|
||||
|
||||
Reference in New Issue
Block a user