platform/platform.c: Integrate platform DNS hook

This commit is contained in:
Tau 2019-09-04 13:43:47 -04:00
parent 1affb5c169
commit a77e9efbed

View File

@ -4,6 +4,7 @@
#include "platform/amvideo.h"
#include "platform/config.h"
#include "platform/dns.h"
#include "platform/hwmon.h"
#include "platform/misc.h"
#include "platform/nusec.h"
@ -30,6 +31,12 @@ HRESULT platform_hook_init_alls(
return hr;
}
hr = dns_platform_hook_init(&cfg->dns);
if (FAILED(hr)) {
return hr;
}
hr = hwmon_hook_init(&cfg->hwmon);
if (FAILED(hr)) {
@ -78,6 +85,12 @@ HRESULT platform_hook_init_nu(
return hr;
}
hr = dns_platform_hook_init(&cfg->dns);
if (FAILED(hr)) {
return hr;
}
hr = hwmon_hook_init(&cfg->hwmon);
if (FAILED(hr)) {