Skip to content

ipmi_fru.c: Provide missing function declarations#360

Open
kraj wants to merge 1 commit intoipmitool:masterfrom
kraj:master
Open

ipmi_fru.c: Provide missing function declarations#360
kraj wants to merge 1 commit intoipmitool:masterfrom
kraj:master

Conversation

@kraj
Copy link
Copy Markdown

@kraj kraj commented Sep 2, 2022

Fixes build with clang-15+

Signed-off-by: Khem Raj raj.khem@gmail.com

Fixes build with clang-15+

Signed-off-by: Khem Raj <raj.khem@gmail.com>

/* From src/plugins/ipmi_intf.c: */
uint16_t
ipmi_intf_get_max_response_data_size(struct ipmi_intf * intf);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These must go to the respective header files, not here

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in latest sources I see these functions are already defined in include/ipmitool/ipmi_intf.h after 1724b031 which fixes the problem at hand, so this patch is not needed anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants