summaryrefslogtreecommitdiffstats
path: root/communication/server/include/com_error_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'communication/server/include/com_error_type.h')
-rw-r--r--communication/server/include/com_error_type.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/communication/server/include/com_error_type.h b/communication/server/include/com_error_type.h
index bfd96b3a..4d15f827 100644
--- a/communication/server/include/com_error_type.h
+++ b/communication/server/include/com_error_type.h
@@ -1,5 +1,5 @@
/*
- * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION.
+ * @copyright Copyright (c) 2016-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.
@@ -16,20 +16,6 @@
#ifndef COMMUNICATION_SERVER_INCLUDE_COM_ERROR_TYPE_H_
#define COMMUNICATION_SERVER_INCLUDE_COM_ERROR_TYPE_H_
-
-/*************************************************************************
- * RET_API define
- *************************************************************************/
-
-#define RET_NORMAL 0 /* Normal completion */
-
-/* Function code (normal termination) system */
-#define RET_RCVMSG 1 /* Receive only message */
-
-/* Error code system */
-#define RET_OSERROR -127 /* OS System call error*/
-#define RET_ERROR -1 /* Error termination (content is unspecified) */
-#define RET_ERRPARAM -2 /* Parameter error */
-#define RET_ERRTIMEOUT -5 /* Timeout with Processing Not Complete */
-
+const int32_t RET_NORMAL = 0;
+const int32_t RET_ERROR = -1;
#endif // COMMUNICATION_SERVER_INCLUDE_COM_ERROR_TYPE_H_