mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
smbios: Clean up smbios_add_field() parameters
Having size precede the associated pointer is odd. Swap them, and fix up the types. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo "ever the optimist" Ersek <lersek@redhat.com> Message-id: 1370610036-10577-5-git-send-email-armbru@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
5bb95e4186
commit
ebc85e3f72
3 changed files with 16 additions and 14 deletions
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
int smbios_entry_add(const char *t);
|
||||
void smbios_add_field(int type, int offset, int len, void *data);
|
||||
void smbios_add_field(int type, int offset, const void *data, size_t len);
|
||||
uint8_t *smbios_get_table(size_t *length);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue