Skip to content

Commit 2a3042d

Browse files
committed
Better distuingish which file can and cannot by linked by C linker.
1 parent 3abb86d commit 2a3042d

File tree

182 files changed

+488
-450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+488
-450
lines changed

erpc_c/infra/erpc_arbitrated_client_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* SPDX-License-Identifier: BSD-3-Clause
99
*/
1010

11-
#include "erpc_arbitrated_client_manager.h"
12-
#include "erpc_transport_arbitrator.h"
11+
#include "erpc_arbitrated_client_manager.hpp"
12+
#include "erpc_transport_arbitrator.hpp"
1313

1414
#if ERPC_THREADS_IS(NONE)
1515
#error "Arbitrator code does not work in no-threading configuration."
File renamed without changes.

erpc_c/infra/erpc_basic_codec.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
* SPDX-License-Identifier: BSD-3-Clause
99
*/
1010

11-
#include "erpc_basic_codec.h"
11+
#include "erpc_basic_codec.hpp"
1212
#include "erpc_config_internal.h"
1313
#include ENDIANNESS_HEADER
14-
#include "erpc_manually_constructed.h"
14+
#include "erpc_manually_constructed.hpp"
1515

1616
#if ERPC_ALLOCATION_POLICY == ERPC_ALLOCATION_POLICY_DYNAMIC
1717
#include <new>

erpc_c/infra/erpc_basic_codec.h renamed to erpc_c/infra/erpc_basic_codec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#ifndef _EMBEDDED_RPC__BASIC_SERIALIZATION_H_
1212
#define _EMBEDDED_RPC__BASIC_SERIALIZATION_H_
1313

14-
#include "erpc_codec.h"
14+
#include "erpc_codec.hpp"
1515

1616
/*!
1717
* @addtogroup infra_codec

erpc_c/infra/erpc_client_manager.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
#define _EMBEDDED_RPC__CLIENT_MANAGER_H_
1313

1414
#ifdef __cplusplus
15-
#include "erpc_client_server_common.h"
16-
#include "erpc_codec.h"
15+
#include "erpc_client_server_common.hpp"
16+
#include "erpc_codec.hpp"
1717
#include "erpc_config_internal.h"
1818
#if ERPC_NESTED_CALLS
19-
#include "erpc_server.h"
19+
#include "erpc_server.hpp"
2020
#include "erpc_threading.h"
2121
#endif
2222

erpc_c/infra/erpc_client_server_common.h renamed to erpc_c/infra/erpc_client_server_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include "erpc_config_internal.h"
1414
#if ERPC_MESSAGE_LOGGING
15-
#include "erpc_message_loggers.h"
15+
#include "erpc_message_loggers.hpp"
1616
#endif
1717
#if ERPC_PRE_POST_ACTION
1818
#include "erpc_pre_post_action.h"

erpc_c/infra/erpc_codec.h renamed to erpc_c/infra/erpc_codec.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#define _EMBEDDED_RPC__CODEC_H_
1313

1414
#include "erpc_common.h"
15-
#include "erpc_message_buffer.h"
16-
#include "erpc_transport.h"
15+
#include "erpc_message_buffer.hpp"
16+
#include "erpc_transport.hpp"
1717

1818
#include <cstring>
1919
#include <stdint.h>

erpc_c/infra/erpc_common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#ifndef _EMBEDDED_RPC__ERPC_COMMON_H_
1212
#define _EMBEDDED_RPC__ERPC_COMMON_H_
1313

14-
#include <stdint.h>
15-
1614
/*!
1715
* @addtogroup infra
1816
* @{

erpc_c/infra/erpc_crc16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* SPDX-License-Identifier: BSD-3-Clause
88
*/
99

10-
#include "erpc_crc16.h"
10+
#include "erpc_crc16.hpp"
1111

1212
using namespace erpc;
1313

erpc_c/infra/erpc_crc16.h renamed to erpc_c/infra/erpc_crc16.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef _EMBEDDED_RPC__CRC16_H_
1010
#define _EMBEDDED_RPC__CRC16_H_
1111

12-
#include <stdint.h>
12+
#include <cstdint>
1313

1414
/*!
1515
* @addtogroup infra_transport

0 commit comments

Comments
 (0)