Commit 660c5c92 authored by Vinayak Kariappa Chettimada's avatar Vinayak Kariappa Chettimada Committed by Carles Cufi
Browse files

Bluetooth: controller: Remove include guards in internal files



Remove include guards in internal files; it is an agreed
convention to not have include guards in internal header
files in Bluetooth subsystem.

Signed-off-by: default avatarVinayak Kariappa Chettimada <vich@nordicsemi.no>
parent 6c60abb0
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -5,9 +5,6 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _CCM_H_
#define _CCM_H_

struct ccm {
	u8_t  key[16];
	u64_t counter;
@@ -15,5 +12,3 @@ struct ccm {
	u8_t  resv1:7;
	u8_t  iv[8];
} __packed;

#endif /* _CCM_H_ */
+0 −5
Original line number Diff line number Diff line
@@ -5,13 +5,8 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _CNTR_H_
#define _CNTR_H_

void cntr_init(void);
u32_t cntr_start(void);
u32_t cntr_stop(void);
u32_t cntr_cnt_get(void);
void cntr_cmp_set(u8_t cmp, u32_t value);

#endif /* _CNTR_H_ */
+0 −5
Original line number Diff line number Diff line
@@ -5,14 +5,9 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _CPU_H_
#define _CPU_H_

static inline void cpu_sleep(void)
{
	__WFE();
	__SEV();
	__WFE();
}

#endif /* _CPU_H_ */
+0 −5
Original line number Diff line number Diff line
@@ -5,9 +5,6 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _HAL_DEBUG_H_
#define _HAL_DEBUG_H_

#ifdef CONFIG_BT_CTLR_ASSERT_HANDLER
void bt_ctlr_assert_handle(char *file, u32_t line);
#define LL_ASSERT(cond) if (!(cond)) { \
@@ -19,5 +16,3 @@ void bt_ctlr_assert_handle(char *file, u32_t line);
#endif

#include "nrf5/debug.h"

#endif /* _HAL_DEBUG_H_ */
+0 −5
Original line number Diff line number Diff line
@@ -5,9 +5,6 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _ECB_H_
#define _ECB_H_

typedef void (*ecb_fp) (u32_t status, u8_t *cipher_be, void *context);

struct ecb {
@@ -30,5 +27,3 @@ u32_t ecb_encrypt_nonblocking(struct ecb *ecb);
void isr_ecb(void *param);

u32_t ecb_ut(void);

#endif /* _ECB_H_ */
Loading