SMBIOS: Rename symbols to better reflect future use

Rename the following symbols:

  - smbios_set_type1_defaults() to the more general smbios_set_defaults();
  - bool smbios_type1_defaults to the more general smbios_defaults;
  - smbios_get_table() to smbios_get_table_legacy();

This patch contains no functional changes.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gabriel L. Somlo 2014-04-23 09:42:38 -04:00 committed by Gerd Hoffmann
parent 7bf8ef196e
commit e6667f719c
5 changed files with 28 additions and 22 deletions

View file

@ -16,9 +16,9 @@
#include "qemu/option.h"
void smbios_entry_add(QemuOpts *opts);
void smbios_set_type1_defaults(const char *manufacturer,
const char *product, const char *version);
uint8_t *smbios_get_table(size_t *length);
void smbios_set_defaults(const char *manufacturer, const char *product,
const char *version);
uint8_t *smbios_get_table_legacy(size_t *length);
/*
* SMBIOS spec defined tables