Update agl_types_deprecated.h 34/25834/1
authorRiku Nomoto <riku_nomoto@mail.toyota.co.jp>
Sat, 19 Dec 2020 11:24:24 +0000 (20:24 +0900)
committerRiku Nomoto <riku_nomoto@mail.toyota.co.jp>
Sat, 19 Dec 2020 11:24:24 +0000 (20:24 +0900)
Removed code that runs in kernel space.

Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
Change-Id: I38e3393a380da6c11864ea6f14367b6a60689f90

agl-basefiles/include/agl_types_deprecated.h

index 0f7e86d..04e1b32 100644 (file)
@@ -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_ */