mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
gnrc_tcp: cleanup: removed trailing underscores from include guards
This commit is contained in:
parent
bc0bf3bc4f
commit
62c0efb20a
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <simon.brummer@haw-hamburg.de>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_H_
|
||||
#define GNRC_TCP_H_
|
||||
#ifndef GNRC_TCP_H
|
||||
#define GNRC_TCP_H
|
||||
|
||||
#include "net/tcp.h"
|
||||
#include "net/gnrc/netapi.h"
|
||||
@ -210,5 +210,5 @@ gnrc_pktsnip_t *gnrc_tcp_hdr_build(gnrc_pktsnip_t *payload, uint16_t src, uint16
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_H_ */
|
||||
#endif /* GNRC_TCP_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <simon.brummer@haw-hamburg.de>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_CONFIG_H_
|
||||
#define GNRC_TCP_CONFIG_H_
|
||||
#ifndef GNRC_TCP_CONFIG_H
|
||||
#define GNRC_TCP_CONFIG_H
|
||||
|
||||
#include "timex.h"
|
||||
|
||||
@ -141,5 +141,5 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_CONFIG_H_ */
|
||||
#endif /* GNRC_TCP_CONFIG_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <simon.brummer@haw-hamburg.de>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_TCB_H_
|
||||
#define GNRC_TCP_TCB_H_
|
||||
#ifndef GNRC_TCP_TCB_H
|
||||
#define GNRC_TCP_TCB_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <ringbuffer.h>
|
||||
@ -86,5 +86,5 @@ typedef struct _transmission_control_block {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* GNRC_TCP_TCB_H_ */
|
||||
#endif /* GNRC_TCP_TCB_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <brummer.simon@googlemail.com>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_INTERNAL_COMMON_H_
|
||||
#define GNRC_TCP_INTERNAL_COMMON_H_
|
||||
#ifndef GNRC_TCP_INTERNAL_COMMON_H
|
||||
#define GNRC_TCP_INTERNAL_COMMON_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "kernel_types.h"
|
||||
@ -133,5 +133,5 @@ extern mutex_t _list_tcb_lock;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_INTERNAL_COMMON_H_ */
|
||||
#endif /* GNRC_TCP_INTERNAL_COMMON_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <brummer.simon@googlemail.com>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_INTERNAL_EVENTLOOP_H_
|
||||
#define GNRC_TCP_INTERNAL_EVENTLOOP_H_
|
||||
#ifndef GNRC_TCP_INTERNAL_EVENTLOOP_H
|
||||
#define GNRC_TCP_INTERNAL_EVENTLOOP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -39,5 +39,5 @@ void *_event_loop(__attribute__((unused)) void *arg);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_INTERNAL_EVENTLOOP_H_ */
|
||||
#endif /* GNRC_TCP_INTERNAL_EVENTLOOP_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <brummer.simon@googlemail.com>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_INTERNAL_FSM_H_
|
||||
#define GNRC_TCP_INTERNAL_FSM_H_
|
||||
#ifndef GNRC_TCP_INTERNAL_FSM_H
|
||||
#define GNRC_TCP_INTERNAL_FSM_H
|
||||
|
||||
#include <errno.h>
|
||||
#include "net/gnrc/pktbuf.h"
|
||||
@ -85,5 +85,5 @@ int _fsm(gnrc_tcp_tcb_t* tcb, fsm_event_t event, gnrc_pktsnip_t *in_pkt, void *b
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_INTERNAL_FSM_H_ */
|
||||
#endif /* GNRC_TCP_INTERNAL_FSM_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <brummer.simon@googlemail.com>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_INTERNAL_OPTION_H_
|
||||
#define GNRC_TCP_INTERNAL_OPTION_H_
|
||||
#ifndef GNRC_TCP_INTERNAL_OPTION_H
|
||||
#define GNRC_TCP_INTERNAL_OPTION_H
|
||||
|
||||
#include "net/tcp.h"
|
||||
#include "net/gnrc/tcp.h"
|
||||
@ -63,5 +63,5 @@ int _option_parse(gnrc_tcp_tcb_t* tcb, tcp_hdr_t *hdr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_INTERNAL_OPTION_H_*/
|
||||
#endif /* GNRC_TCP_INTERNAL_OPTION_H*/
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <brummer.simon@googlemail.com>
|
||||
*/
|
||||
|
||||
#ifndef GNRC_TCP_INTERNAL_PKT_H_
|
||||
#define GNRC_TCP_INTERNAL_PKT_H_
|
||||
#ifndef GNRC_TCP_INTERNAL_PKT_H
|
||||
#define GNRC_TCP_INTERNAL_PKT_H
|
||||
|
||||
#include "net/conn/tcp.h"
|
||||
|
||||
@ -146,5 +146,5 @@ uint16_t _pkt_calc_csum(const gnrc_pktsnip_t *hdr, const gnrc_pktsnip_t *pseudo_
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_INTERNAL_PKT_H_ */
|
||||
#endif /* GNRC_TCP_INTERNAL_PKT_H */
|
||||
/** @} */
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
* @author Simon Brummer <brummer.simon@googlemail.com>
|
||||
* @}
|
||||
*/
|
||||
#ifndef GNRC_TCP_INTERNAL_RCVBUF_H_
|
||||
#define GNRC_TCP_INTERNAL_RCVBUF_H_
|
||||
#ifndef GNRC_TCP_INTERNAL_RCVBUF_H
|
||||
#define GNRC_TCP_INTERNAL_RCVBUF_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "mutex.h"
|
||||
@ -77,5 +77,5 @@ void _rcvbuf_release_buffer(gnrc_tcp_tcb_t* tcb);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNRC_TCP_INTERNAL_RCVBUF_H_ */
|
||||
#endif /* GNRC_TCP_INTERNAL_RCVBUF_H */
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user