mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
sys/net/sockutil: use #pragma once
Co-authored-by: benpicco <benpicco@googlemail.com>
This commit is contained in:
parent
62e553ad6c
commit
41c8f5112b
@ -7,6 +7,8 @@
|
||||
* directory for more details.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @defgroup net_sock_util sock utility functions
|
||||
* @ingroup net_sock
|
||||
@ -22,9 +24,6 @@
|
||||
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
||||
*/
|
||||
|
||||
#ifndef NET_SOCK_UTIL_H
|
||||
#define NET_SOCK_UTIL_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@ -310,6 +309,4 @@ int sock_dtls_establish_session(sock_udp_t *sock_udp, sock_dtls_t *sock_dtls,
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* NET_SOCK_UTIL_H */
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user