aboutsummaryrefslogtreecommitdiffstats
path: root/src/prop_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prop_search.c')
-rw-r--r--src/prop_search.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/prop_search.c b/src/prop_search.c
index fce139e..f88de8a 100644
--- a/src/prop_search.c
+++ b/src/prop_search.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2019 TOYOTA MOTOR CORPORATION
+ * Copyright (c) 2017 TOYOTA MOTOR CORPORATION
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@
#include <search.h>
#include <string.h>
-#include "wheel-service.h"
+#include "af-steering-wheel-binding.h"
#include "prop_search.h"
#define SUPPORT_PROPERTY_LIMIT 512
@@ -47,12 +47,12 @@ static int addProperty_dict(struct prop_info_t *prop_info)
v = tsearch((void *)prop_info, &property_root, property_compare);
if (v == NULL)
{
- DBG_ERROR("add property failed: not enogh memory?");
+ ERRMSG("add property failed: not enogh memory?");
return -1;
}
if (nProperties >= SUPPORT_PROPERTY_LIMIT)
{
- DBG_ERROR("Reach properties limit");
+ ERRMSG("Reach properties limit");
return -1;
}
support_property_list[nProperties] = prop_info->name;