Skip to content

Commit

Permalink
sys/net: include misplacement inside linkage-specification
Browse files Browse the repository at this point in the history
An include should be outside of the linkage-specification.
  • Loading branch information
Ziesie1 authored and Maurice committed Sep 14, 2022
1 parent a594e90 commit be10ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/include/net/sock/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
/** @} */

0 comments on commit be10ffe

Please sign in to comment.