1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00

sys/net: include misplacement inside linkage-specification

An include should be outside of the linkage-specification.
This commit is contained in:
Ziesie 2022-09-13 15:43:27 +02:00 committed by Maurice
parent a594e90228
commit be10ffe74e

View File

@ -541,11 +541,11 @@ ssize_t sock_tcp_read(sock_tcp_t *sock, void *data, size_t max_len,
*/
ssize_t sock_tcp_write(sock_tcp_t *sock, const void *data, size_t len);
#include "sock_types.h"
#ifdef __cplusplus
}
#endif
#include "sock_types.h"
#endif /* NET_SOCK_TCP_H */
/** @} */