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:
Markus Armbruster 2013-06-07 15:00:34 +02:00 committed by Anthony Liguori
parent 5bb95e4186
commit ebc85e3f72
3 changed files with 16 additions and 14 deletions

View file

@ -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);
/*