From 6a98fe7fd233813f3875d4a8c565234418a41f33 Mon Sep 17 00:00:00 2001 From: Vernon Mauery Date: Mon, 11 Mar 2019 15:57:48 -0700 Subject: Move util.cpp/util.hpp to libipmid These are functions that are used widely by ipmid providers, so it makes sense to put them in libipmi.so (the library that all providers must link against). Tested-by: use nm to inspect the binaries to see that the symbols are in the expected library. arm-openbmc-linux-gnueabi-nm libipmid.so.0.0.0 \ | grep getDbusObject 0001063c T _ZN4ipmi13getDbusObjectERN9sdbusplus.... Change-Id: I1221f807f2711c5301c5574623564ea1ae48a437 Signed-off-by: Vernon Mauery --- app/channel.cpp | 2 +- app/watchdog_service.hpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/channel.cpp b/app/channel.cpp index 93fba24..e4532c5 100644 --- a/app/channel.cpp +++ b/app/channel.cpp @@ -3,12 +3,12 @@ #include "transporthandler.hpp" #include "types.hpp" #include "user_channel/channel_layer.hpp" -#include "utils.hpp" #include #include #include +#include #include #include #include diff --git a/app/watchdog_service.hpp b/app/watchdog_service.hpp index 75afc1e..0cf1c74 100644 --- a/app/watchdog_service.hpp +++ b/app/watchdog_service.hpp @@ -1,6 +1,5 @@ #pragma once -#include "utils.hpp" - +#include #include #include -- cgit v1.2.1