summaryrefslogtreecommitdiffstats
path: root/agl-basefiles/include
diff options
context:
space:
mode:
authorRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-19 20:24:24 +0900
committerRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-19 20:24:24 +0900
commit9ad7db2494675c110a7b3a4607ccde3a7e4f6c3c (patch)
tree4093dc0116f54dbd3d1d616fcd93304948ee7b2b /agl-basefiles/include
parent34d32dbb0cea889f1091b9e73329841dbb578ef9 (diff)
Update agl_types_deprecated.h
Removed code that runs in kernel space. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I38e3393a380da6c11864ea6f14367b6a60689f90
Diffstat (limited to 'agl-basefiles/include')
-rw-r--r--agl-basefiles/include/agl_types_deprecated.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/agl-basefiles/include/agl_types_deprecated.h b/agl-basefiles/include/agl_types_deprecated.h
index 0f7e86d..04e1b32 100644
--- a/agl-basefiles/include/agl_types_deprecated.h
+++ b/agl-basefiles/include/agl_types_deprecated.h
@@ -1,5 +1,5 @@
/*
- * @copyright Copyright (c) 2017-2019 TOYOTA MOTOR CORPORATION.
+ * @copyright Copyright (c) 2017-2020 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.
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef _AGL_TYPES_OBSOLUTED_H_
-#define _AGL_TYPES_OBSOLUTED_H_
+#ifndef _AGL_TYPES_DEPRECATED_H_
+#define _AGL_TYPES_DEPRECATED_H_
#include <sys/mman.h>
#include <sys/types.h>
@@ -110,12 +110,10 @@ typedef uint32_t UINT32;
#define __AGLDD_TYPEDEF_UINT64
typedef uint64_t UINT64;
-#ifndef __KERNEL__
#if !defined __WIN_TYPEDEF_BOOL
#define __AGLDD_TYPEDEF_BOOL
typedef uint32_t BOOL;
#endif
-#endif
#ifndef TRUE
#define TRUE 1
@@ -133,4 +131,4 @@ do {fprintf(stderr, "[%s][%s][%s:%d]AGL_ASSERT_NOT_TESTED.\n", \
#define AGL_ASSERT_NOT_TESTED() \
do {} while(0)
#endif
-#endif /* _AGL_TYPES_OBSOLUTED_H_ */
+#endif /* _AGL_TYPES_DEPRECATED_H_ */