Commit cc4d4cef authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Michael S. Tsirkin
Browse files

hw/smbios: Restrict access to "hw/smbios/ipmi.h"



All the consumers of "hw/smbios/ipmi.h" are located in hw/smbios/.
There is no need to have this include publicly exposed,
reduce the visibility by moving it in hw/smbios/.

Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent c7eaf9a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
#include "hw/loader.h"
#include "exec/cpu-common.h"
#include "smbios_build.h"
#include "hw/smbios/ipmi.h"
#include "smbios_ipmi.h"

/* legacy structures and constants for <= 2.0 machines */
struct smbios_header {
+0 −0

File moved.

+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
 */

#include "qemu/osdep.h"
#include "hw/smbios/ipmi.h"
#include "smbios_ipmi.h"

void smbios_build_type_38_table(void)
{
+1 −1
Original line number Diff line number Diff line
@@ -9,10 +9,10 @@

#include "qemu/osdep.h"
#include "hw/ipmi/ipmi.h"
#include "hw/smbios/ipmi.h"
#include "hw/smbios/smbios.h"
#include "qemu/error-report.h"
#include "smbios_build.h"
#include "smbios_ipmi.h"

/* SMBIOS type 38 - IPMI */
struct smbios_type_38 {