From de07fe07e5f888a491a424913c11ac871e69701c Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 23 May 2017 18:06:26 +0200 Subject: [PATCH 1/5] dist: tools: headerguard: initial commit --- dist/tools/headerguards/check.sh | 44 +++++++++++++ dist/tools/headerguards/headerguards.py | 84 +++++++++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100755 dist/tools/headerguards/check.sh create mode 100755 dist/tools/headerguards/headerguards.py diff --git a/dist/tools/headerguards/check.sh b/dist/tools/headerguards/check.sh new file mode 100755 index 0000000000..a3ba4f0d45 --- /dev/null +++ b/dist/tools/headerguards/check.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +# Copyright 2017 Kaspar Schleiser +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. + +: ${RIOTBASE:=$(pwd)} + +. ${RIOTBASE}/dist/tools/ci/changed_files.sh + +EXIT_CODE=0 + +filter() { + if [ $QUIET -eq 0 ]; then + cat + else + grep '^---' | cut -f 2 -d ' ' + fi +} + +_headercheck() { + OUT="$(${RIOTBASE}/dist/tools/headerguards/headerguards.py ${FILES} | filter)" + + if [ -n "$OUT" ]; then + EXIT_CODE=1 + echo "$OUT" + fi +} + +: ${FILES:=$(FILEREGEX='\.h$' changed_files)} + +if [ -z "${FILES}" ]; then + exit +fi + +: ${QUIET:=0} + +if [ -z "$*" ]; then + _headercheck +fi + +exit $EXIT_CODE diff --git a/dist/tools/headerguards/headerguards.py b/dist/tools/headerguards/headerguards.py new file mode 100755 index 0000000000..7affa3bd4f --- /dev/null +++ b/dist/tools/headerguards/headerguards.py @@ -0,0 +1,84 @@ +#!/usr/bin/env python3 + +import os, sys +import difflib +#from string import maketrans +from io import BytesIO, TextIOWrapper + +_in = "/-." +_out = "___" + +transtab = str.maketrans(_in, _out) + +def path_to_guardname(filepath): + res = filepath.upper().translate(transtab) + if res.startswith("_"): + res = "PRIV" + res + return res + +def get_guard_name(filepath): + parts = filepath.split(os.sep) + start = 0 + found = False + for i, part in enumerate(parts): + if part == "include": + found = True + start = i+1 + break + + if not found: + start = len(parts) -1 + + return path_to_guardname(os.path.join(*parts[start:])) + +def fix_headerguard(filename): + supposed = get_guard_name(filename) + with open(filename, "r",encoding='utf-8', errors='ignore') as f: + inlines = f.readlines() + + tmp = TextIOWrapper(BytesIO(), encoding="utf-8", errors="ignore") + tmp.seek(0) + + guard_found = 0 + guard_name = "" + ifstack = 0 + for n, line in enumerate(inlines): + if guard_found == 0: + if line.startswith("#ifndef"): + guard_found += 1 + guard_name = line[8:].rstrip() + line = "#ifndef %s\n" % (supposed) + elif guard_found == 1: + if line.startswith("#define") and line[8:].rstrip() == guard_name: + line = "#define %s\n" % (supposed) + guard_found += 1 + else: + break + elif guard_found == 2: + if line.startswith("#if"): + ifstack += 1 + elif line.startswith("#endif"): + if ifstack > 0: + ifstack -= 1 + else: + guard_found += 1 + line = "#endif /* %s */\n" % supposed + + tmp.write(line) + + tmp.seek(0) + if guard_found == 3: + for line in difflib.unified_diff(inlines, tmp.readlines(), "%s" % filename, "%s" % filename): + sys.stdout.write(line) + else: + print("%s: no / broken header guard" % filename, file=sys.stderr) + return False + +if __name__=="__main__": + error = False + for filename in sys.argv[1:]: + if fix_headerguard(filename) == False: + error = True + + if error: + sys.exit(1) From ed31db47020fbf9a0d3d90f53ce4f3c9dc20fc3b Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 23 May 2017 18:07:51 +0200 Subject: [PATCH 2/5] dist: tools: build_and_test.sh: add header guard check --- dist/tools/ci/build_and_test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/tools/ci/build_and_test.sh b/dist/tools/ci/build_and_test.sh index a79ee2d5a0..80d628099b 100755 --- a/dist/tools/ci/build_and_test.sh +++ b/dist/tools/ci/build_and_test.sh @@ -90,6 +90,7 @@ then run ./dist/tools/cppcheck/check.sh run ./dist/tools/pr_check/pr_check.sh ${CI_BASE_BRANCH} run ./dist/tools/coccinelle/check.sh + QUIET=1 run ./dist/tools/headerguards/check.sh exit $RESULT fi From a65931c04ad3f4cac1048745e417796841c31f34 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 23 May 2017 18:04:40 +0200 Subject: [PATCH 3/5] add some missing header guards --- cpu/mips_pic32mx/include/periph_cpu.h | 5 +++++ cpu/mips_pic32mz/include/periph_cpu.h | 5 +++++ sys/quad_math/quad.h | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/cpu/mips_pic32mx/include/periph_cpu.h b/cpu/mips_pic32mx/include/periph_cpu.h index 9fca77223c..07c3db92fd 100644 --- a/cpu/mips_pic32mx/include/periph_cpu.h +++ b/cpu/mips_pic32mx/include/periph_cpu.h @@ -8,6 +8,9 @@ * */ +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H + #include "periph_cpu_common.h" #ifdef __cplusplus @@ -17,3 +20,5 @@ extern "C" { #ifdef __cplusplus } #endif + +#endif /* PERIPH_CPU_H */ diff --git a/cpu/mips_pic32mz/include/periph_cpu.h b/cpu/mips_pic32mz/include/periph_cpu.h index 9fca77223c..07c3db92fd 100644 --- a/cpu/mips_pic32mz/include/periph_cpu.h +++ b/cpu/mips_pic32mz/include/periph_cpu.h @@ -8,6 +8,9 @@ * */ +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H + #include "periph_cpu_common.h" #ifdef __cplusplus @@ -17,3 +20,5 @@ extern "C" { #ifdef __cplusplus } #endif + +#endif /* PERIPH_CPU_H */ diff --git a/sys/quad_math/quad.h b/sys/quad_math/quad.h index 38e89b9a75..46d02379e1 100644 --- a/sys/quad_math/quad.h +++ b/sys/quad_math/quad.h @@ -49,6 +49,9 @@ * with 48-bit ints. */ +#ifndef QUAD_H +#define QUAD_H + #include #include @@ -147,3 +150,5 @@ quad_t __xordi3(quad_t, quad_t); #ifdef __cplusplus } #endif + +#endif /* QUAD_H */ From 0fcc7d383400db1e3357354f1b94fe3511f78479 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 23 May 2017 18:19:52 +0200 Subject: [PATCH 4/5] cleanup: apply headerguard script output --- boards/avsextrem/include/board.h | 6 +++--- boards/calliope-mini/include/board.h | 2 +- boards/chronos/include/board.h | 6 +++--- boards/ek-lm4f120xl/include/board.h | 2 +- boards/frdm-k64f/include/board.h | 2 +- boards/microbit/include/board.h | 2 +- boards/mips-malta/include/board.h | 6 +++--- boards/mips-malta/include/periph_conf.h | 6 +++--- boards/msb-430-common/drivers/include/sht11-board.h | 6 +++--- boards/msb-430/include/board.h | 6 +++--- boards/msb-430h/include/board.h | 6 +++--- boards/msba2-common/drivers/include/sht11-board.h | 6 +++--- boards/msba2-common/include/msba2_common.h | 2 +- boards/msba2-common/tools/src/control_2xxx.h | 2 +- boards/msba2-common/tools/src/lpc2k_pgm.h | 2 +- boards/msba2-common/tools/src/serial.h | 2 +- boards/mulle/include/periph_conf.h | 6 +++--- boards/nrf51dongle/include/board.h | 2 +- boards/nrf52840dk/include/board.h | 2 +- boards/nrf52840dk/include/periph_conf.h | 2 +- boards/nrf52dk/include/board.h | 2 +- boards/nrf52dk/include/periph_conf.h | 2 +- boards/nrf6310/include/board.h | 2 +- boards/nucleo-f411/include/board.h | 6 +++--- boards/nucleo-f411/include/periph_conf.h | 6 +++--- boards/nucleo32-f031/include/board.h | 6 +++--- boards/nucleo32-f031/include/periph_conf.h | 6 +++--- boards/pca10000/include/board.h | 2 +- boards/pic32-wifire/include/board.h | 6 +++--- boards/pic32-wifire/include/periph_conf.h | 6 +++--- boards/qemu-i386/include/board.h | 6 +++--- boards/qemu-i386/include/cpu_conf.h | 6 +++--- boards/saml21-xpro/include/board.h | 2 +- boards/telosb/include/board.h | 6 +++--- boards/wsn430-v1_3b/include/board.h | 6 +++--- boards/wsn430-v1_4/include/board.h | 6 +++--- boards/x86-multiboot-common/include/multiboot.h | 2 +- boards/z1/include/board.h | 6 +++--- core/include/arch/irq_arch.h | 6 +++--- core/include/arch/panic_arch.h | 6 +++--- core/include/arch/thread_arch.h | 6 +++--- core/include/native_sched.h | 6 +++--- core/include/priority_queue.h | 6 +++--- core/include/rmutex.h | 6 +++--- core/include/sched.h | 6 +++--- core/include/thread_flags.h | 6 +++--- cpu/atmega_common/avr-libc-extra/inttypes.h | 6 +++--- cpu/atmega_common/avr-libc-extra/time.h | 2 +- cpu/atmega_common/include/cpu.h | 6 +++--- cpu/atmega_common/include/sys/stat.h | 6 +++--- cpu/atmega_common/include/sys/time.h | 6 +++--- cpu/atmega_common/include/sys/types.h | 6 +++--- cpu/cc2538/include/cc2538.h | 6 +++--- cpu/cc2538/include/cc2538_gptimer.h | 6 +++--- cpu/cc26x0/include/cc26x0.h | 6 +++--- cpu/cc26x0/include/cc26x0_aux.h | 6 +++--- cpu/cc26x0/include/cc26x0_ccfg.h | 6 +++--- cpu/cc26x0/include/cc26x0_fcfg.h | 6 +++--- cpu/cc26x0/include/cc26x0_gpio.h | 6 +++--- cpu/cc26x0/include/cc26x0_gpt.h | 6 +++--- cpu/cc26x0/include/cc26x0_i2c.h | 6 +++--- cpu/cc26x0/include/cc26x0_ioc.h | 6 +++--- cpu/cc26x0/include/cc26x0_prcm.h | 6 +++--- cpu/cc26x0/include/cc26x0_uart.h | 6 +++--- cpu/cc26x0/include/cc26x0_vims.h | 6 +++--- cpu/cc26x0/include/cc26x0_wdt.h | 6 +++--- cpu/cc430/include/cc430-adc.h | 2 +- cpu/cc430/include/cc430-rtc.h | 2 +- cpu/cc430/include/periph_cpu.h | 6 +++--- cpu/cortexm_common/include/vectors_cortexm.h | 6 +++--- cpu/ezr32wg/include/cpu_conf.h | 2 +- cpu/ezr32wg/include/periph_cpu.h | 6 +++--- cpu/kinetis_common/include/mcg.h | 6 +++--- cpu/lpc2387/include/cpu_conf.h | 6 +++--- cpu/mips32r2_common/include/cpu.h | 6 +++--- cpu/mips32r2_common/include/cpu_conf.h | 6 +++--- cpu/mips32r2_common/include/eic_irq.h | 6 +++--- cpu/mips_pic32mx/include/cpu.h | 6 +++--- cpu/mips_pic32mx/include/cpu_conf.h | 6 +++--- cpu/mips_pic32mz/include/cpu.h | 6 +++--- cpu/mips_pic32mz/include/cpu_conf.h | 6 +++--- cpu/msp430_common/include/cpu_conf.h | 6 +++--- cpu/msp430_common/include/stdatomic.h | 6 +++--- cpu/msp430_common/include/stdio.h | 6 +++--- cpu/msp430_common/include/stdlib.h | 6 +++--- cpu/msp430_common/include/sys/cdefs.h | 6 +++--- cpu/msp430_common/include/sys/features.h | 6 +++--- cpu/msp430_common/include/sys/stat.h | 6 +++--- cpu/msp430_common/include/sys/time.h | 6 +++--- cpu/msp430_common/include/time.h | 6 +++--- cpu/msp430fxyz/include/periph_cpu.h | 6 +++--- cpu/native/include/async_read.h | 2 +- cpu/native/include/cpu.h | 6 +++--- cpu/native/include/cpu_conf.h | 6 +++--- cpu/native/include/native_internal.h | 6 +++--- cpu/native/include/netdev_tap_params.h | 6 +++--- cpu/native/include/tty_uart.h | 2 +- cpu/native/osx-libc-extra/malloc.h | 2 +- cpu/nrf51/include/periph_cpu.h | 6 +++--- cpu/nrf52/include/periph_cpu.h | 6 +++--- cpu/sam0_common/include/periph_cpu_common.h | 6 +++--- cpu/samd21/include/periph_cpu.h | 6 +++--- cpu/stm32f0/include/cpu_conf.h | 6 +++--- cpu/stm32f3/include/cpu_conf.h | 6 +++--- cpu/stm32f4/include/cpu_conf.h | 6 +++--- cpu/stm32f7/include/cpu_conf.h | 6 +++--- cpu/stm32l0/include/cpu_conf.h | 6 +++--- cpu/stm32l1/include/cpu_conf.h | 6 +++--- cpu/stm32l4/include/cpu_conf.h | 6 +++--- cpu/x86/include/cpu.h | 6 +++--- cpu/x86/include/periph_cpu.h | 6 +++--- cpu/x86/include/ucontext.h | 6 +++--- cpu/x86/include/x86_cmos.h | 6 +++--- cpu/x86/include/x86_interrupts.h | 6 +++--- cpu/x86/include/x86_kernel_memory.h | 6 +++--- cpu/x86/include/x86_memory.h | 6 +++--- cpu/x86/include/x86_pci.h | 6 +++--- cpu/x86/include/x86_pci_strings.h | 6 +++--- cpu/x86/include/x86_pic.h | 6 +++--- cpu/x86/include/x86_pit.h | 6 +++--- cpu/x86/include/x86_ports.h | 6 +++--- cpu/x86/include/x86_reboot.h | 6 +++--- cpu/x86/include/x86_registers.h | 6 +++--- cpu/x86/include/x86_rtc.h | 6 +++--- cpu/x86/include/x86_threading.h | 6 +++--- cpu/x86/include/x86_uart.h | 6 +++--- cpu/x86/include/x86_videoram.h | 6 +++--- drivers/bh1750fvi/include/bh1750fvi_internal.h | 6 +++--- drivers/bmp180/include/bmp180_internals.h | 6 +++--- drivers/cc110x/include/cc110x-defines.h | 2 +- drivers/cc110x/include/gnrc_netdev_cc110x.h | 6 +++--- drivers/dynamixel/include/dynamixel_crc.h | 2 +- drivers/dynamixel/include/dynamixel_protocol.h | 2 +- drivers/dynamixel/include/dynamixel_reader.h | 2 +- drivers/dynamixel/include/dynamixel_writer.h | 2 +- drivers/encx24j600/include/encx24j600_defines.h | 6 +++--- drivers/feetech/include/feetech_protocol.h | 2 +- drivers/feetech/include/feetech_reader.h | 2 +- drivers/feetech/include/feetech_writer.h | 2 +- drivers/ina220/include/ina220-regs.h | 2 +- drivers/include/dynamixel.h | 2 +- drivers/include/feetech.h | 2 +- drivers/include/hdc1000.h | 2 +- drivers/include/jc42.h | 6 +++--- drivers/include/kw2xrf.h | 6 +++--- drivers/include/mag3110.h | 2 +- drivers/include/mpl3115a2.h | 2 +- drivers/include/mtd_spi_nor.h | 6 +++--- drivers/include/net/netdev.h | 6 +++--- drivers/include/net/netdev/eth.h | 6 +++--- drivers/include/net/netdev/ieee802154.h | 6 +++--- drivers/include/nvram-spi.h | 6 +++--- drivers/include/nvram.h | 6 +++--- drivers/include/pcd8544.h | 6 +++--- drivers/include/periph/dev_enums.h | 6 +++--- drivers/include/periph/flashpage.h | 6 +++--- drivers/include/periph/gpio.h | 6 +++--- drivers/include/periph/i2c.h | 6 +++--- drivers/include/periph/pm.h | 6 +++--- drivers/include/periph/rtc.h | 6 +++--- drivers/include/periph/rtt.h | 6 +++--- drivers/include/pn532.h | 6 +++--- drivers/include/tcs37727.h | 2 +- drivers/include/tmp006.h | 2 +- drivers/include/tsl2561.h | 6 +++--- drivers/include/w5100.h | 2 +- drivers/kw2xrf/include/kw2xrf_reg.h | 6 +++--- drivers/kw2xrf/include/overwrites.h | 6 +++--- drivers/lsm6dsl/include/lsm6dsl_internal.h | 2 +- drivers/mag3110/include/mag3110_reg.h | 2 +- drivers/mma8x5x/include/mma8x5x_regs.h | 6 +++--- drivers/mpl3115a2/include/mpl3115a2_reg.h | 2 +- drivers/pcd8544/include/pcd8544_internal.h | 6 +++--- drivers/tcs37727/include/tcs37727-internal.h | 2 +- drivers/tsl2561/include/tsl2561_internals.h | 6 +++--- drivers/tsl2561/include/tsl2561_params.h | 2 +- drivers/uart_half_duplex/include/uart_half_duplex.h | 2 +- pkg/emb6/include/board_conf.h | 6 +++--- pkg/emb6/include/sock_types.h | 6 +++--- pkg/lwip/include/arch/cc.h | 6 +++--- pkg/lwip/include/arch/sys_arch.h | 6 +++--- pkg/lwip/include/lwip/netif/netdev.h | 6 +++--- pkg/lwip/include/lwip/sock_internal.h | 6 +++--- pkg/lwip/include/lwipopts.h | 6 +++--- pkg/nordic_softdevice_ble/src/ble-core.h | 6 +++--- pkg/spiffs/include/spiffs_config.h | 6 +++--- sys/embunit/ColorTextColors.h | 6 +++--- sys/include/base64.h | 6 +++--- sys/include/bloom.h | 6 +++--- sys/include/cbor.h | 2 +- sys/include/checksum/crc16_ccitt.h | 6 +++--- sys/include/checksum/fletcher16.h | 6 +++--- sys/include/checksum/fletcher32.h | 6 +++--- sys/include/checksum/ucrc16.h | 6 +++--- sys/include/crypto/aes.h | 6 +++--- sys/include/crypto/chacha.h | 2 +- sys/include/crypto/helper.h | 6 +++--- sys/include/ecc/hamming256.h | 6 +++--- sys/include/embUnit.h | 6 +++--- sys/include/embUnit/AssertImpl.h | 2 +- sys/include/embUnit/ColorOutputter.h | 2 +- sys/include/embUnit/ColorTextOutputter.h | 2 +- sys/include/embUnit/CompilerOutputter.h | 2 +- sys/include/embUnit/HelperMacro.h | 2 +- sys/include/embUnit/Outputter.h | 2 +- sys/include/embUnit/RepeatedTest.h | 2 +- sys/include/embUnit/Test.h | 2 +- sys/include/embUnit/TestCaller.h | 2 +- sys/include/embUnit/TestCase.h | 2 +- sys/include/embUnit/TestListener.h | 2 +- sys/include/embUnit/TestResult.h | 2 +- sys/include/embUnit/TestRunner.h | 2 +- sys/include/embUnit/TestSuite.h | 2 +- sys/include/embUnit/TextOutputter.h | 2 +- sys/include/embUnit/TextUIRunner.h | 2 +- sys/include/embUnit/XMLOutputter.h | 2 +- sys/include/embUnit/embUnit.h | 2 +- sys/include/embUnit/embUnit_config.h | 6 +++--- sys/include/embUnit/stdImpl.h | 2 +- sys/include/fs/constfs.h | 6 +++--- sys/include/fs/devfs.h | 6 +++--- sys/include/fs/spiffs_fs.h | 6 +++--- sys/include/hashes/sha1.h | 6 +++--- sys/include/hashes/sha256.h | 6 +++--- sys/include/luid.h | 6 +++--- sys/include/net/af.h | 6 +++--- sys/include/net/csma_sender.h | 6 +++--- sys/include/net/emcute.h | 6 +++--- sys/include/net/ethernet.h | 6 +++--- sys/include/net/ethernet/hdr.h | 6 +++--- sys/include/net/ethertype.h | 6 +++--- sys/include/net/eui64.h | 6 +++--- sys/include/net/fib.h | 6 +++--- sys/include/net/fib/table.h | 6 +++--- sys/include/net/gcoap.h | 6 +++--- sys/include/net/gnrc.h | 6 +++--- sys/include/net/gnrc/icmpv6.h | 6 +++--- sys/include/net/gnrc/icmpv6/echo.h | 6 +++--- sys/include/net/gnrc/icmpv6/error.h | 6 +++--- sys/include/net/gnrc/ipv6.h | 6 +++--- sys/include/net/gnrc/ipv6/blacklist.h | 6 +++--- sys/include/net/gnrc/ipv6/ext.h | 6 +++--- sys/include/net/gnrc/ipv6/hdr.h | 6 +++--- sys/include/net/gnrc/ipv6/nc.h | 6 +++--- sys/include/net/gnrc/ipv6/netif.h | 6 +++--- sys/include/net/gnrc/ipv6/whitelist.h | 6 +++--- sys/include/net/gnrc/mac/internal.h | 6 +++--- sys/include/net/gnrc/mac/mac.h | 6 +++--- sys/include/net/gnrc/mac/types.h | 6 +++--- sys/include/net/gnrc/ndp.h | 6 +++--- sys/include/net/gnrc/ndp/host.h | 6 +++--- sys/include/net/gnrc/ndp/internal.h | 6 +++--- sys/include/net/gnrc/ndp/node.h | 6 +++--- sys/include/net/gnrc/ndp/router.h | 6 +++--- sys/include/net/gnrc/netapi.h | 6 +++--- sys/include/net/gnrc/netdev.h | 6 +++--- sys/include/net/gnrc/netdev/eth.h | 6 +++--- sys/include/net/gnrc/netdev/ieee802154.h | 6 +++--- sys/include/net/gnrc/netdev/xbee_adpt.h | 6 +++--- sys/include/net/gnrc/neterr.h | 6 +++--- sys/include/net/gnrc/netif.h | 6 +++--- sys/include/net/gnrc/netif/hdr.h | 6 +++--- sys/include/net/gnrc/netreg.h | 6 +++--- sys/include/net/gnrc/nettest.h | 6 +++--- sys/include/net/gnrc/nettype.h | 6 +++--- sys/include/net/gnrc/pkt.h | 6 +++--- sys/include/net/gnrc/pktbuf.h | 6 +++--- sys/include/net/gnrc/pktdump.h | 6 +++--- sys/include/net/gnrc/pktqueue.h | 6 +++--- sys/include/net/gnrc/priority_pktqueue.h | 6 +++--- sys/include/net/gnrc/rpl.h | 6 +++--- sys/include/net/gnrc/rpl/dodag.h | 6 +++--- sys/include/net/gnrc/rpl/of_manager.h | 6 +++--- sys/include/net/gnrc/rpl/p2p.h | 6 +++--- sys/include/net/gnrc/rpl/p2p_dodag.h | 6 +++--- sys/include/net/gnrc/rpl/p2p_structs.h | 6 +++--- sys/include/net/gnrc/rpl/srh.h | 6 +++--- sys/include/net/gnrc/rpl/structs.h | 6 +++--- sys/include/net/gnrc/sixlowpan.h | 6 +++--- sys/include/net/gnrc/sixlowpan/ctx.h | 6 +++--- sys/include/net/gnrc/sixlowpan/frag.h | 6 +++--- sys/include/net/gnrc/sixlowpan/iphc.h | 6 +++--- sys/include/net/gnrc/sixlowpan/nd.h | 6 +++--- sys/include/net/gnrc/sixlowpan/nd/border_router.h | 6 +++--- sys/include/net/gnrc/sixlowpan/nd/router.h | 6 +++--- sys/include/net/gnrc/sixlowpan/netif.h | 6 +++--- sys/include/net/gnrc/slip.h | 6 +++--- sys/include/net/gnrc/tcp.h | 6 +++--- sys/include/net/gnrc/tcp/config.h | 6 +++--- sys/include/net/gnrc/tcp/tcb.h | 6 +++--- sys/include/net/gnrc/tftp.h | 6 +++--- sys/include/net/gnrc/udp.h | 6 +++--- sys/include/net/iana/portrange.h | 6 +++--- sys/include/net/icmp.h | 6 +++--- sys/include/net/icmpv6.h | 6 +++--- sys/include/net/ieee802154.h | 6 +++--- sys/include/net/inet_csum.h | 6 +++--- sys/include/net/ipv4.h | 6 +++--- sys/include/net/ipv4/addr.h | 6 +++--- sys/include/net/ipv4/hdr.h | 6 +++--- sys/include/net/ipv6.h | 6 +++--- sys/include/net/ipv6/addr.h | 6 +++--- sys/include/net/ipv6/ext.h | 6 +++--- sys/include/net/ipv6/ext/rh.h | 6 +++--- sys/include/net/ipv6/hdr.h | 6 +++--- sys/include/net/l2filter.h | 6 +++--- sys/include/net/ndp.h | 6 +++--- sys/include/net/netdev_test.h | 6 +++--- sys/include/net/netopt.h | 6 +++--- sys/include/net/netstats.h | 6 +++--- sys/include/net/ntp_packet.h | 6 +++--- sys/include/net/packet.h | 6 +++--- sys/include/net/ppp/hdr.h | 6 +++--- sys/include/net/ppptype.h | 6 +++--- sys/include/net/protnum.h | 6 +++--- sys/include/net/rpl/rpl_netstats.h | 6 +++--- sys/include/net/sixlowpan.h | 6 +++--- sys/include/net/sixlowpan/nd.h | 6 +++--- sys/include/net/sntp.h | 6 +++--- sys/include/net/sock/dns.h | 6 +++--- sys/include/net/sock/util.h | 6 +++--- sys/include/net/tcp.h | 6 +++--- sys/include/net/udp.h | 6 +++--- sys/include/net/uhcp.h | 6 +++--- sys/include/phydat.h | 6 +++--- sys/include/pipe.h | 6 +++--- sys/include/pm_layered.h | 2 +- sys/include/tm.h | 6 +++--- sys/include/ubjson.h | 6 +++--- sys/include/vfs.h | 6 +++--- sys/include/xtimer/tick_conversion.h | 2 +- sys/libc/include/sys/uio.h | 6 +++--- sys/log/log_printfnoformat/log_module.h | 6 +++--- sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h | 6 +++--- sys/net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h | 6 +++--- sys/net/gnrc/routing/rpl/gnrc_rpl_internal/validation.h | 6 +++--- sys/net/gnrc/transport_layer/tcp/internal/common.h | 6 +++--- sys/net/gnrc/transport_layer/tcp/internal/eventloop.h | 6 +++--- sys/net/gnrc/transport_layer/tcp/internal/fsm.h | 6 +++--- sys/net/gnrc/transport_layer/tcp/internal/option.h | 6 +++--- sys/net/gnrc/transport_layer/tcp/internal/pkt.h | 6 +++--- sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h | 6 +++--- sys/posix/include/netinet/in.h | 6 +++--- sys/posix/include/semaphore.h | 6 +++--- sys/posix/include/sys/bytes.h | 6 +++--- sys/posix/include/sys/socket.h | 4 ++-- sys/posix/include/sys/statvfs.h | 6 +++--- sys/posix/pthread/include/pthread.h | 6 +++--- sys/posix/pthread/include/pthread_barrier.h | 6 +++--- sys/posix/pthread/include/pthread_cancellation.h | 6 +++--- sys/posix/pthread/include/pthread_cleanup.h | 6 +++--- sys/posix/pthread/include/pthread_cond.h | 6 +++--- sys/posix/pthread/include/pthread_mutex.h | 6 +++--- sys/posix/pthread/include/pthread_mutex_attr.h | 6 +++--- sys/posix/pthread/include/pthread_once.h | 6 +++--- sys/posix/pthread/include/pthread_rwlock.h | 6 +++--- sys/posix/pthread/include/pthread_rwlock_attr.h | 6 +++--- sys/posix/pthread/include/pthread_scheduling.h | 6 +++--- sys/posix/pthread/include/pthread_spin.h | 6 +++--- sys/posix/pthread/include/pthread_threading.h | 6 +++--- sys/posix/pthread/include/pthread_threading_attr.h | 6 +++--- sys/posix/pthread/include/pthread_tls.h | 6 +++--- sys/random/tinymt32/tinymt32.h | 2 +- sys/ubjson/ubjson-internal.h | 6 +++--- tests/emb6/common.h | 6 +++--- tests/lwip/common.h | 6 +++--- tests/lwip_sock_tcp/constants.h | 6 +++--- tests/lwip_sock_tcp/stack.h | 6 +++--- tests/lwip_sock_udp/constants.h | 6 +++--- tests/lwip_sock_udp/stack.h | 6 +++--- tests/unittests/map.h | 6 +++--- tests/unittests/tests-fib_sr/tests-fib_sr.h | 6 +++--- tests/unittests/tests-flashpage/tests-flashpage.h | 6 +++--- .../tests-gnrc_mac_internal/tests-gnrc_mac_internal.h | 6 +++--- tests/unittests/tests-hashes/tests-hashes.h | 2 +- 375 files changed, 980 insertions(+), 980 deletions(-) diff --git a/boards/avsextrem/include/board.h b/boards/avsextrem/include/board.h index 81c523c728..bc1f91bd97 100644 --- a/boards/avsextrem/include/board.h +++ b/boards/avsextrem/include/board.h @@ -22,8 +22,8 @@ */ -#ifndef BOARDCONF_H -#define BOARDCONF_H +#ifndef BOARD_H +#define BOARD_H #include "bitarithm.h" #include "msba2_common.h" @@ -60,4 +60,4 @@ void init_clks1(void); #endif /** @} */ -#endif /* BOARDCONF_H */ +#endif /* BOARD_H */ diff --git a/boards/calliope-mini/include/board.h b/boards/calliope-mini/include/board.h index aa890627da..6da549ddb6 100644 --- a/boards/calliope-mini/include/board.h +++ b/boards/calliope-mini/include/board.h @@ -73,5 +73,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/chronos/include/board.h b/boards/chronos/include/board.h index dce97b73ad..284692f5c0 100644 --- a/boards/chronos/include/board.h +++ b/boards/chronos/include/board.h @@ -18,8 +18,8 @@ * @author unknown */ -#ifndef CHRONOS_BOARD_H -#define CHRONOS_BOARD_H +#ifndef BOARD_H +#define BOARD_H #include @@ -59,5 +59,5 @@ extern "C" { } #endif -#endif /* CHRONOS_BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/ek-lm4f120xl/include/board.h b/boards/ek-lm4f120xl/include/board.h index 118be9dca3..d6444f6724 100644 --- a/boards/ek-lm4f120xl/include/board.h +++ b/boards/ek-lm4f120xl/include/board.h @@ -64,5 +64,5 @@ extern void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/frdm-k64f/include/board.h b/boards/frdm-k64f/include/board.h index ffff7a2bef..839edeba40 100644 --- a/boards/frdm-k64f/include/board.h +++ b/boards/frdm-k64f/include/board.h @@ -64,5 +64,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/microbit/include/board.h b/boards/microbit/include/board.h index c111003c7a..5ae51646d4 100644 --- a/boards/microbit/include/board.h +++ b/boards/microbit/include/board.h @@ -89,5 +89,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/mips-malta/include/board.h b/boards/mips-malta/include/board.h index 9d69c1bbc6..d17a3f00de 100644 --- a/boards/mips-malta/include/board.h +++ b/boards/mips-malta/include/board.h @@ -20,8 +20,8 @@ * @author Neil Jones */ -#ifndef _BOARD_H_ -#define _BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #ifdef __cplusplus extern "C" { @@ -42,5 +42,5 @@ void board_init(void); } #endif -#endif /* _BOARD_H_ */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/mips-malta/include/periph_conf.h b/boards/mips-malta/include/periph_conf.h index 22af279c8b..edefe3837d 100644 --- a/boards/mips-malta/include/periph_conf.h +++ b/boards/mips-malta/include/periph_conf.h @@ -20,8 +20,8 @@ * @author Neil Jones */ -#ifndef _PERIPH_CONF_H_ -#define _PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { @@ -55,5 +55,5 @@ extern "C" { } #endif -#endif /*_PERIPH_CONF_H_*/ +#endif /* PERIPH_CONF_H */ /** @} */ diff --git a/boards/msb-430-common/drivers/include/sht11-board.h b/boards/msb-430-common/drivers/include/sht11-board.h index 4e46416569..5509a67857 100644 --- a/boards/msb-430-common/drivers/include/sht11-board.h +++ b/boards/msb-430-common/drivers/include/sht11-board.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef SHT11BOARD_H -#define SHT11BOARD_H +#ifndef SHT11_BOARD_H +#define SHT11_BOARD_H /** * @ingroup msb_430h @@ -46,4 +46,4 @@ extern "C" { #endif /** @} */ -#endif /* SHT11BOARD_H */ +#endif /* SHT11_BOARD_H */ diff --git a/boards/msb-430/include/board.h b/boards/msb-430/include/board.h index c9372e09e3..a053c327f3 100644 --- a/boards/msb-430/include/board.h +++ b/boards/msb-430/include/board.h @@ -31,8 +31,8 @@ * @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project */ -#ifndef MSB_BOARD_H -#define MSB_BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "board_common.h" @@ -64,4 +64,4 @@ extern "C" { #endif /** @} */ -#endif /* MSB_BOARD_H */ +#endif /* BOARD_H */ diff --git a/boards/msb-430h/include/board.h b/boards/msb-430h/include/board.h index 6d6f1cbe83..8fc284faa1 100644 --- a/boards/msb-430h/include/board.h +++ b/boards/msb-430h/include/board.h @@ -19,8 +19,8 @@ * @author Hauke Petersen */ -#ifndef MSB_BOARD_H -#define MSB_BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "board_common.h" @@ -52,4 +52,4 @@ extern "C" { #endif /** @} */ -#endif /* MSB_BOARD_H */ +#endif /* BOARD_H */ diff --git a/boards/msba2-common/drivers/include/sht11-board.h b/boards/msba2-common/drivers/include/sht11-board.h index 5016948a64..4ab9808a46 100644 --- a/boards/msba2-common/drivers/include/sht11-board.h +++ b/boards/msba2-common/drivers/include/sht11-board.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef SHT11BOARD_H -#define SHT11BOARD_H +#ifndef SHT11_BOARD_H +#define SHT11_BOARD_H /** * @ingroup lpc2387 @@ -53,4 +53,4 @@ extern "C" { #endif /** @} */ -#endif /* SHT11BOARD_H */ +#endif /* SHT11_BOARD_H */ diff --git a/boards/msba2-common/include/msba2_common.h b/boards/msba2-common/include/msba2_common.h index 6c81ffc5e6..de935216a6 100644 --- a/boards/msba2-common/include/msba2_common.h +++ b/boards/msba2-common/include/msba2_common.h @@ -43,4 +43,4 @@ static inline void pllfeed(void) #endif /** @} */ -#endif /* MSBA2_COMMON_H */ +#endif /* MSBA2_COMMON_H */ diff --git a/boards/msba2-common/tools/src/control_2xxx.h b/boards/msba2-common/tools/src/control_2xxx.h index 8ccd9a72db..71bcc6e63c 100644 --- a/boards/msba2-common/tools/src/control_2xxx.h +++ b/boards/msba2-common/tools/src/control_2xxx.h @@ -22,4 +22,4 @@ void hard_reset_to_bootloader(void); void hard_reset_to_user_code(void); -#endif /* CONTROL_2XXX_H */ +#endif /* CONTROL_2XXX_H */ diff --git a/boards/msba2-common/tools/src/lpc2k_pgm.h b/boards/msba2-common/tools/src/lpc2k_pgm.h index dd6d26ba4e..93cf0af0cc 100644 --- a/boards/msba2-common/tools/src/lpc2k_pgm.h +++ b/boards/msba2-common/tools/src/lpc2k_pgm.h @@ -27,4 +27,4 @@ void change_baud(const char *baud_name); */ void signal_terminal(void); -#endif /* LPC2K_PGM_H */ +#endif /* LPC2K_PGM_H */ diff --git a/boards/msba2-common/tools/src/serial.h b/boards/msba2-common/tools/src/serial.h index e5f1a3b67a..049b9e5009 100644 --- a/boards/msba2-common/tools/src/serial.h +++ b/boards/msba2-common/tools/src/serial.h @@ -34,4 +34,4 @@ void set_rts(int val); void set_dtr(int val); void change_baud(const char *baud_name); -#endif /* SERIAL_H */ +#endif /* SERIAL_H */ diff --git a/boards/mulle/include/periph_conf.h b/boards/mulle/include/periph_conf.h index 0b9125d271..b062f261d6 100644 --- a/boards/mulle/include/periph_conf.h +++ b/boards/mulle/include/periph_conf.h @@ -19,8 +19,8 @@ * @author Hauke Petersen */ -#ifndef MULLE_PERIPH_CONF_H -#define MULLE_PERIPH_CONF_H +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #include "periph_cpu.h" @@ -374,5 +374,5 @@ static const spi_conf_t spi_config[] = { } #endif -#endif /* MULLE_PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ /** @} */ diff --git a/boards/nrf51dongle/include/board.h b/boards/nrf51dongle/include/board.h index 71eaabc263..28a0095814 100644 --- a/boards/nrf51dongle/include/board.h +++ b/boards/nrf51dongle/include/board.h @@ -72,5 +72,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/nrf52840dk/include/board.h b/boards/nrf52840dk/include/board.h index c9c0ce4997..544e434a76 100644 --- a/boards/nrf52840dk/include/board.h +++ b/boards/nrf52840dk/include/board.h @@ -78,5 +78,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/nrf52840dk/include/periph_conf.h b/boards/nrf52840dk/include/periph_conf.h index 728563c0d0..40b3e7215b 100644 --- a/boards/nrf52840dk/include/periph_conf.h +++ b/boards/nrf52840dk/include/periph_conf.h @@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = { } #endif -#endif /* __PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ diff --git a/boards/nrf52dk/include/board.h b/boards/nrf52dk/include/board.h index 6550dee0f9..7794dc6e0a 100644 --- a/boards/nrf52dk/include/board.h +++ b/boards/nrf52dk/include/board.h @@ -77,5 +77,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/nrf52dk/include/periph_conf.h b/boards/nrf52dk/include/periph_conf.h index 96c46616f1..db49936295 100644 --- a/boards/nrf52dk/include/periph_conf.h +++ b/boards/nrf52dk/include/periph_conf.h @@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = { } #endif -#endif /* __PERIPH_CONF_H */ +#endif /* PERIPH_CONF_H */ diff --git a/boards/nrf6310/include/board.h b/boards/nrf6310/include/board.h index 10ca769c13..b90960c60c 100644 --- a/boards/nrf6310/include/board.h +++ b/boards/nrf6310/include/board.h @@ -63,5 +63,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/nucleo-f411/include/board.h b/boards/nucleo-f411/include/board.h index 7c4f23a8cf..7c822ac487 100644 --- a/boards/nucleo-f411/include/board.h +++ b/boards/nucleo-f411/include/board.h @@ -18,8 +18,8 @@ * @author Alexandre Abadie */ -#ifndef BOARD_H_ -#define BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #include "board_common.h" @@ -41,5 +41,5 @@ extern "C" { } #endif -#endif /* BOARD_H_ */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/nucleo-f411/include/periph_conf.h b/boards/nucleo-f411/include/periph_conf.h index d46b05dc7b..27be57ac6b 100644 --- a/boards/nucleo-f411/include/periph_conf.h +++ b/boards/nucleo-f411/include/periph_conf.h @@ -16,8 +16,8 @@ * @author Alexandre Abadie */ -#ifndef PERIPH_CONF_H_ -#define PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #include "periph_cpu.h" @@ -244,5 +244,5 @@ static const spi_conf_t spi_config[] = { } #endif -#endif /* PERIPH_CONF_H_ */ +#endif /* PERIPH_CONF_H */ /** @} */ diff --git a/boards/nucleo32-f031/include/board.h b/boards/nucleo32-f031/include/board.h index 7d59d6e1eb..e06c9370e3 100644 --- a/boards/nucleo32-f031/include/board.h +++ b/boards/nucleo32-f031/include/board.h @@ -20,8 +20,8 @@ * @author Vincent Dupont */ -#ifndef BOARD_H_ -#define BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #include "board_common.h" @@ -33,5 +33,5 @@ extern "C" { } #endif -#endif /* BOARD_H_ */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/nucleo32-f031/include/periph_conf.h b/boards/nucleo32-f031/include/periph_conf.h index a9f6e210c1..590d516acc 100644 --- a/boards/nucleo32-f031/include/periph_conf.h +++ b/boards/nucleo32-f031/include/periph_conf.h @@ -17,8 +17,8 @@ * @author Vincent Dupont */ -#ifndef PERIPH_CONF_H_ -#define PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #include "periph_cpu.h" @@ -200,5 +200,5 @@ static const spi_conf_t spi_config[] = { } #endif -#endif /* PERIPH_CONF_H_ */ +#endif /* PERIPH_CONF_H */ /** @} */ diff --git a/boards/pca10000/include/board.h b/boards/pca10000/include/board.h index d743a81fb6..ceff900080 100644 --- a/boards/pca10000/include/board.h +++ b/boards/pca10000/include/board.h @@ -72,5 +72,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/pic32-wifire/include/board.h b/boards/pic32-wifire/include/board.h index cf611ab179..eaf2f46127 100644 --- a/boards/pic32-wifire/include/board.h +++ b/boards/pic32-wifire/include/board.h @@ -25,8 +25,8 @@ * @author Neil Jones */ -#ifndef _BOARD_H_ -#define _BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #include "periph_conf.h" @@ -56,5 +56,5 @@ void board_init(void); } #endif -#endif /* _BOARD_H_ */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/pic32-wifire/include/periph_conf.h b/boards/pic32-wifire/include/periph_conf.h index d2a09517ce..e1ae1fdfdb 100644 --- a/boards/pic32-wifire/include/periph_conf.h +++ b/boards/pic32-wifire/include/periph_conf.h @@ -19,8 +19,8 @@ * * @author Neil Jones */ -#ifndef _PERIPH_CONF_H_ -#define _PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #include "periph_cpu.h" @@ -60,5 +60,5 @@ extern "C" { } #endif -#endif +#endif /* PERIPH_CONF_H */ /** @} */ diff --git a/boards/qemu-i386/include/board.h b/boards/qemu-i386/include/board.h index c9d63b9e93..97badcb8bd 100644 --- a/boards/qemu-i386/include/board.h +++ b/boards/qemu-i386/include/board.h @@ -18,8 +18,8 @@ * @author René Kijewski */ -#ifndef QEMU_I386_BOARD_H -#define QEMU_I386_BOARD_H +#ifndef BOARD_H +#define BOARD_H #ifdef __cplusplus extern "C" { @@ -37,7 +37,7 @@ extern "C" { } #endif -#endif /* QEMU_I386_BOARD_H */ +#endif /* BOARD_H */ /** * @} diff --git a/boards/qemu-i386/include/cpu_conf.h b/boards/qemu-i386/include/cpu_conf.h index 638322693a..e49ea03388 100644 --- a/boards/qemu-i386/include/cpu_conf.h +++ b/boards/qemu-i386/include/cpu_conf.h @@ -16,8 +16,8 @@ * @author René Kijewski */ -#ifndef QEMU_I386_CPU_CONF_H -#define QEMU_I386_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus extern "C" { @@ -35,6 +35,6 @@ extern "C" { } #endif -#endif /* QEMU_I386_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/boards/saml21-xpro/include/board.h b/boards/saml21-xpro/include/board.h index 794a03e401..8e60c2ed7e 100644 --- a/boards/saml21-xpro/include/board.h +++ b/boards/saml21-xpro/include/board.h @@ -55,5 +55,5 @@ void board_init(void); } #endif -#endif /** BOARD_H */ +#endif /* BOARD_H */ /** @} */ diff --git a/boards/telosb/include/board.h b/boards/telosb/include/board.h index f245040ce8..db027e2b78 100644 --- a/boards/telosb/include/board.h +++ b/boards/telosb/include/board.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef TELOSB_BOARD_H -#define TELOSB_BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" @@ -116,4 +116,4 @@ extern "C" { #endif /** @} */ -#endif /* TELOSB_BOARD_H */ +#endif /* BOARD_H */ diff --git a/boards/wsn430-v1_3b/include/board.h b/boards/wsn430-v1_3b/include/board.h index 7256f2d83e..3836c71056 100644 --- a/boards/wsn430-v1_3b/include/board.h +++ b/boards/wsn430-v1_3b/include/board.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef WSN_BOARD_H -#define WSN_BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "board_common.h" @@ -60,4 +60,4 @@ extern "C" { #include /** @} */ -#endif /* WSN_BOARD_H */ +#endif /* BOARD_H */ diff --git a/boards/wsn430-v1_4/include/board.h b/boards/wsn430-v1_4/include/board.h index d205566670..9771516bc3 100644 --- a/boards/wsn430-v1_4/include/board.h +++ b/boards/wsn430-v1_4/include/board.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef WSN_BOARD_H -#define WSN_BOARD_H +#ifndef BOARD_H +#define BOARD_H #include "board_common.h" @@ -60,4 +60,4 @@ extern "C" { #include /** @} */ -#endif /* WSN_BOARD_H */ +#endif /* BOARD_H */ diff --git a/boards/x86-multiboot-common/include/multiboot.h b/boards/x86-multiboot-common/include/multiboot.h index 4a95a73591..09d57042b2 100644 --- a/boards/x86-multiboot-common/include/multiboot.h +++ b/boards/x86-multiboot-common/include/multiboot.h @@ -234,5 +234,5 @@ typedef struct multiboot_mod_list multiboot_module_t; } #endif -#endif /** ! MULTIBOOT_H */ +#endif /* MULTIBOOT_H */ /** @} */ diff --git a/boards/z1/include/board.h b/boards/z1/include/board.h index 0b40bcc64f..9b1dc254a0 100644 --- a/boards/z1/include/board.h +++ b/boards/z1/include/board.h @@ -7,8 +7,8 @@ * directory for more details. */ -#ifndef Z1_BOARD_H -#define Z1_BOARD_H +#ifndef BOARD_H +#define BOARD_H /** * @defgroup boards_z1 Zolertia Z1 @@ -123,4 +123,4 @@ extern "C" { #endif /** @} */ -#endif /* Z1_BOARD_H */ +#endif /* BOARD_H */ diff --git a/core/include/arch/irq_arch.h b/core/include/arch/irq_arch.h index 863af6fd48..306aac3a3a 100644 --- a/core/include/arch/irq_arch.h +++ b/core/include/arch/irq_arch.h @@ -22,8 +22,8 @@ * @author Hauke Petersen */ -#ifndef IRQ_ARCH_H -#define IRQ_ARCH_H +#ifndef ARCH_IRQ_ARCH_H +#define ARCH_IRQ_ARCH_H #ifdef __cplusplus extern "C" { @@ -77,5 +77,5 @@ int irq_arch_in(void); } #endif -#endif /* IRQ_ARCH_H */ +#endif /* ARCH_IRQ_ARCH_H */ /** @} */ diff --git a/core/include/arch/panic_arch.h b/core/include/arch/panic_arch.h index 715d3877a1..f103239b4d 100644 --- a/core/include/arch/panic_arch.h +++ b/core/include/arch/panic_arch.h @@ -16,8 +16,8 @@ * @author Oliver Hahm */ -#ifndef PANIC_ARCH_H -#define PANIC_ARCH_H +#ifndef ARCH_PANIC_ARCH_H +#define ARCH_PANIC_ARCH_H #ifdef __cplusplus extern "C" { @@ -35,5 +35,5 @@ void panic_arch(void); } #endif -#endif /* REBOOT_ARCH_H */ +#endif /* ARCH_PANIC_ARCH_H */ /** @} */ diff --git a/core/include/arch/thread_arch.h b/core/include/arch/thread_arch.h index 7a27986bf0..58ddcb8ee6 100644 --- a/core/include/arch/thread_arch.h +++ b/core/include/arch/thread_arch.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef THREAD_ARCH_H -#define THREAD_ARCH_H +#ifndef ARCH_THREAD_ARCH_H +#define ARCH_THREAD_ARCH_H #include "kernel_defines.h" @@ -92,5 +92,5 @@ void thread_arch_yield(void); } #endif -#endif /* THREAD_ARCH_H */ +#endif /* ARCH_THREAD_ARCH_H */ /** @} */ diff --git a/core/include/native_sched.h b/core/include/native_sched.h index 1b561181de..6e7e514555 100644 --- a/core/include/native_sched.h +++ b/core/include/native_sched.h @@ -20,8 +20,8 @@ * @author Raphael Hiesgen */ -#ifndef NATIVE_SCHEDULER_H -#define NATIVE_SCHEDULER_H +#ifndef NATIVE_SCHED_H +#define NATIVE_SCHED_H #ifdef __cplusplus extern "C" { @@ -54,5 +54,5 @@ inline int sched_yield(void) } #endif -#endif /* NATIVE_SCHEDULER_H */ +#endif /* NATIVE_SCHED_H */ /** @} */ diff --git a/core/include/priority_queue.h b/core/include/priority_queue.h index 8c55a74232..bceae1bb6c 100644 --- a/core/include/priority_queue.h +++ b/core/include/priority_queue.h @@ -16,8 +16,8 @@ * @author Kaspar Schleiser */ -#ifndef QUEUE_H -#define QUEUE_H +#ifndef PRIORITY_QUEUE_H +#define PRIORITY_QUEUE_H #include #include @@ -132,4 +132,4 @@ void priority_queue_print_node(priority_queue_t *root); #endif /** @} */ -#endif /* QUEUE_H */ +#endif /* PRIORITY_QUEUE_H */ diff --git a/core/include/rmutex.h b/core/include/rmutex.h index 81a3c33f09..880bbf0ea2 100644 --- a/core/include/rmutex.h +++ b/core/include/rmutex.h @@ -18,8 +18,8 @@ * */ -#ifndef RMUTEX_H_ -#define RMUTEX_H_ +#ifndef RMUTEX_H +#define RMUTEX_H #include @@ -106,5 +106,5 @@ void rmutex_unlock(rmutex_t *rmutex); } #endif -#endif /* RMUTEX_H_ */ +#endif /* RMUTEX_H */ /** @} */ diff --git a/core/include/sched.h b/core/include/sched.h index 7a833984bc..0c11db12ef 100644 --- a/core/include/sched.h +++ b/core/include/sched.h @@ -77,8 +77,8 @@ * @author Kaspar Schleiser */ -#ifndef SCHEDULER_H -#define SCHEDULER_H +#ifndef SCHED_H +#define SCHED_H #include #include "kernel_defines.h" @@ -202,5 +202,5 @@ void sched_register_cb(void (*callback)(uint32_t, uint32_t)); } #endif -#endif /* SCHEDULER_H */ +#endif /* SCHED_H */ /** @} */ diff --git a/core/include/thread_flags.h b/core/include/thread_flags.h index 1e78f19345..e87538eb1c 100644 --- a/core/include/thread_flags.h +++ b/core/include/thread_flags.h @@ -47,8 +47,8 @@ * * @author Kaspar Schleiser */ -#ifndef THREAD_FLAG_H -#define THREAD_FLAG_H +#ifndef THREAD_FLAGS_H +#define THREAD_FLAGS_H #include "kernel_types.h" #include "sched.h" /* for thread_t typedef */ @@ -152,4 +152,4 @@ int thread_flags_wake(thread_t *thread); #endif /** @} */ -#endif /* THREAD_FLAG_H */ +#endif /* THREAD_FLAGS_H */ diff --git a/cpu/atmega_common/avr-libc-extra/inttypes.h b/cpu/atmega_common/avr-libc-extra/inttypes.h index 9c93b54535..b98eef4c82 100644 --- a/cpu/atmega_common/avr-libc-extra/inttypes.h +++ b/cpu/atmega_common/avr-libc-extra/inttypes.h @@ -15,8 +15,8 @@ * * @author Martine Lenders */ -#ifndef RIOT_INTTYPES_H -#define RIOT_INTTYPES_H +#ifndef INTTYPES_H +#define INTTYPES_H #include_next @@ -33,5 +33,5 @@ extern "C" { } #endif -#endif /* RIOT_INTTYPES_H */ +#endif /* INTTYPES_H */ /** @} */ diff --git a/cpu/atmega_common/avr-libc-extra/time.h b/cpu/atmega_common/avr-libc-extra/time.h index 00a6c87bd1..c287fac2e0 100644 --- a/cpu/atmega_common/avr-libc-extra/time.h +++ b/cpu/atmega_common/avr-libc-extra/time.h @@ -524,7 +524,7 @@ extern "C" { } #endif -#endif /* TIME_H */ +#endif /* TIME_H */ /** \endcond diff --git a/cpu/atmega_common/include/cpu.h b/cpu/atmega_common/include/cpu.h index 4be4234a4b..45361f2b19 100644 --- a/cpu/atmega_common/include/cpu.h +++ b/cpu/atmega_common/include/cpu.h @@ -24,8 +24,8 @@ * @author Kaspar Schleiser */ -#ifndef ATMEGA_COMMON_H -#define ATMEGA_COMMON_H +#ifndef CPU_H +#define CPU_H #include #include @@ -83,5 +83,5 @@ static inline void cpu_print_last_instruction(void) } #endif -#endif /* ATMEGA_COMMON_H */ +#endif /* CPU_H */ /** @} */ diff --git a/cpu/atmega_common/include/sys/stat.h b/cpu/atmega_common/include/sys/stat.h index 49e8533c65..1099df2470 100644 --- a/cpu/atmega_common/include/sys/stat.h +++ b/cpu/atmega_common/include/sys/stat.h @@ -12,8 +12,8 @@ * @author Joakim Nohlgård */ -#ifndef SYS_STAT_H_ -#define SYS_STAT_H_ +#ifndef SYS_STAT_H +#define SYS_STAT_H #include /* for struct timespec */ #include /* for fsblkcnt_t, fsfilcnt_t */ @@ -115,6 +115,6 @@ int utimensat(int, const char *, const struct timespec [2], int); } #endif -#endif /* SYS_STAT_H_ */ +#endif /* SYS_STAT_H */ /** @} */ diff --git a/cpu/atmega_common/include/sys/time.h b/cpu/atmega_common/include/sys/time.h index 7339088cb8..2dfa8b99ba 100644 --- a/cpu/atmega_common/include/sys/time.h +++ b/cpu/atmega_common/include/sys/time.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef ATMEGA_TIME_H -#define ATMEGA_TIME_H +#ifndef SYS_TIME_H +#define SYS_TIME_H #include #include @@ -29,4 +29,4 @@ struct timeval { } #endif -#endif /* ATMEGA_TIME_H */ +#endif /* SYS_TIME_H */ diff --git a/cpu/atmega_common/include/sys/types.h b/cpu/atmega_common/include/sys/types.h index 7cce094a6c..1ae38413a4 100644 --- a/cpu/atmega_common/include/sys/types.h +++ b/cpu/atmega_common/include/sys/types.h @@ -7,8 +7,8 @@ * directory for more details. */ -#ifndef SYS_TYPES_H_ -#define SYS_TYPES_H_ +#ifndef SYS_TYPES_H +#define SYS_TYPES_H #include #include @@ -44,4 +44,4 @@ typedef uint32_t useconds_t; /**< Used for time in microseconds */ } #endif -#endif /* SYS_TYPES_H_ */ +#endif /* SYS_TYPES_H */ diff --git a/cpu/cc2538/include/cc2538.h b/cpu/cc2538/include/cc2538.h index b74c20bd4a..bca9ff7376 100644 --- a/cpu/cc2538/include/cc2538.h +++ b/cpu/cc2538/include/cc2538.h @@ -16,8 +16,8 @@ * @author Ian Martin */ -#ifndef _CC2538_ -#define _CC2538_ +#ifndef CC2538_H +#define CC2538_H #ifdef __cplusplus extern "C" { @@ -815,6 +815,6 @@ typedef volatile uint32_t cc2538_reg_t; /**< Least-significant 32 bits of the IE } #endif -#endif /* _CC2538_ */ +#endif /* CC2538_H */ /*@}*/ diff --git a/cpu/cc2538/include/cc2538_gptimer.h b/cpu/cc2538/include/cc2538_gptimer.h index a9ce194537..3a79544f68 100644 --- a/cpu/cc2538/include/cc2538_gptimer.h +++ b/cpu/cc2538/include/cc2538_gptimer.h @@ -17,8 +17,8 @@ * @author Ian Martin */ -#ifndef GPTIMER_H -#define GPTIMER_H +#ifndef CC2538_GPTIMER_H +#define CC2538_GPTIMER_H #include @@ -180,6 +180,6 @@ void isr_timer3_chan1(void); /**< RIOT Timer 3 Channel 1 Interrup } /* end extern "C" */ #endif -#endif /* GPTIMER_H */ +#endif /* CC2538_GPTIMER_H */ /* @} */ diff --git a/cpu/cc26x0/include/cc26x0.h b/cpu/cc26x0/include/cc26x0.h index 3ddbac92fa..8f3f13b929 100644 --- a/cpu/cc26x0/include/cc26x0.h +++ b/cpu/cc26x0/include/cc26x0.h @@ -16,8 +16,8 @@ * @author Leon M. George */ -#ifndef CC26x0_H -#define CC26x0_H +#ifndef CC26X0_H +#define CC26X0_H #include @@ -112,6 +112,6 @@ typedef enum IRQn } #endif -#endif /* CC26x0_H */ +#endif /* CC26X0_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_aux.h b/cpu/cc26x0/include/cc26x0_aux.h index a790bb63d4..ee4483d9ad 100644 --- a/cpu/cc26x0/include/cc26x0_aux.h +++ b/cpu/cc26x0/include/cc26x0_aux.h @@ -13,8 +13,8 @@ * @brief CC26x0 AUX register definitions */ -#ifndef CC26x0_AUX_H -#define CC26x0_AUX_H +#ifndef CC26X0_AUX_H +#define CC26X0_AUX_H #include @@ -253,6 +253,6 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x0_AUX_H */ +#endif /* CC26X0_AUX_H */ /** @}*/ diff --git a/cpu/cc26x0/include/cc26x0_ccfg.h b/cpu/cc26x0/include/cc26x0_ccfg.h index 89d2ffc9ec..e972deaf4d 100644 --- a/cpu/cc26x0/include/cc26x0_ccfg.h +++ b/cpu/cc26x0/include/cc26x0_ccfg.h @@ -13,8 +13,8 @@ * @brief CC26x0 CCFG register definitions */ -#ifndef CC26x0_CCFG_H -#define CC26x0_CCFG_H +#ifndef CC26X0_CCFG_H +#define CC26X0_CCFG_H #include @@ -65,6 +65,6 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x0_CCFG_H */ +#endif /* CC26X0_CCFG_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_fcfg.h b/cpu/cc26x0/include/cc26x0_fcfg.h index 9450f79105..3dd9578aec 100644 --- a/cpu/cc26x0/include/cc26x0_fcfg.h +++ b/cpu/cc26x0/include/cc26x0_fcfg.h @@ -13,8 +13,8 @@ * @brief CC26x0 FCFG register definitions */ -#ifndef CC26x0_FCFG_H -#define CC26x0_FCFG_H +#ifndef CC26X0_FCFG_H +#define CC26X0_FCFG_H #include @@ -134,6 +134,6 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x0_FCFG_H */ +#endif /* CC26X0_FCFG_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_gpio.h b/cpu/cc26x0/include/cc26x0_gpio.h index 7e4c81a59e..46bd5b964d 100644 --- a/cpu/cc26x0/include/cc26x0_gpio.h +++ b/cpu/cc26x0/include/cc26x0_gpio.h @@ -16,8 +16,8 @@ * */ -#ifndef CC26x0_GPIO_H -#define CC26x0_GPIO_H +#ifndef CC26X0_GPIO_H +#define CC26X0_GPIO_H #include "cc26x0.h" @@ -58,6 +58,6 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x0_GPIO_H */ +#endif /* CC26X0_GPIO_H */ /** @} */ diff --git a/cpu/cc26x0/include/cc26x0_gpt.h b/cpu/cc26x0/include/cc26x0_gpt.h index a6ce5b5043..2c553c0abc 100644 --- a/cpu/cc26x0/include/cc26x0_gpt.h +++ b/cpu/cc26x0/include/cc26x0_gpt.h @@ -16,8 +16,8 @@ * @author Leon George */ -#ifndef CC26x0_GPT_H -#define CC26x0_GPT_H +#ifndef CC26X0_GPT_H +#define CC26X0_GPT_H #include "cc26x0.h" @@ -207,5 +207,5 @@ typedef struct { } #endif -#endif /* CC26x0_GPT_H */ +#endif /* CC26X0_GPT_H */ /** @} */ diff --git a/cpu/cc26x0/include/cc26x0_i2c.h b/cpu/cc26x0/include/cc26x0_i2c.h index 6a34c13b44..2dc2e466d5 100644 --- a/cpu/cc26x0/include/cc26x0_i2c.h +++ b/cpu/cc26x0/include/cc26x0_i2c.h @@ -16,8 +16,8 @@ * @author Leon George */ -#ifndef CC26x0_I2C_H -#define CC26x0_I2C_H +#ifndef CC26X0_I2C_H +#define CC26X0_I2C_H #include "cc26x0.h" @@ -67,6 +67,6 @@ typedef struct { } #endif -#endif /* CC26x0_I2C_H */ +#endif /* CC26X0_I2C_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_ioc.h b/cpu/cc26x0/include/cc26x0_ioc.h index facf2b66db..e481a7b023 100644 --- a/cpu/cc26x0/include/cc26x0_ioc.h +++ b/cpu/cc26x0/include/cc26x0_ioc.h @@ -16,8 +16,8 @@ * @author Leon George */ -#ifndef CC26x0_IOC_H -#define CC26x0_IOC_H +#ifndef CC26X0_IOC_H +#define CC26X0_IOC_H #include "cc26x0.h" @@ -159,6 +159,6 @@ typedef struct { } #endif -#endif /* CC26x0_IOC_H */ +#endif /* CC26X0_IOC_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_prcm.h b/cpu/cc26x0/include/cc26x0_prcm.h index 5310d1d9da..8912089e03 100644 --- a/cpu/cc26x0/include/cc26x0_prcm.h +++ b/cpu/cc26x0/include/cc26x0_prcm.h @@ -14,8 +14,8 @@ * @brief CC26x0 PRCM register definitions */ -#ifndef CC26x0_PRCM_H -#define CC26x0_PRCM_H +#ifndef CC26X0_PRCM_H +#define CC26X0_PRCM_H #include @@ -317,6 +317,6 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x0_PRCM_H */ +#endif /* CC26X0_PRCM_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_uart.h b/cpu/cc26x0/include/cc26x0_uart.h index d0ca4a7f18..12cc17df6a 100644 --- a/cpu/cc26x0/include/cc26x0_uart.h +++ b/cpu/cc26x0/include/cc26x0_uart.h @@ -15,8 +15,8 @@ * */ -#ifndef CC26x0_UART_H -#define CC26x0_UART_H +#ifndef CC26X0_UART_H +#define CC26X0_UART_H #include "cc26x0.h" @@ -129,5 +129,5 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x8_UART_H */ +#endif /* CC26X0_UART_H */ /** @} */ diff --git a/cpu/cc26x0/include/cc26x0_vims.h b/cpu/cc26x0/include/cc26x0_vims.h index c65fd4545e..905a4bdd12 100644 --- a/cpu/cc26x0/include/cc26x0_vims.h +++ b/cpu/cc26x0/include/cc26x0_vims.h @@ -14,8 +14,8 @@ * @brief CC26x0 VIMS register definitions */ -#ifndef CC26x0_VIMS_H -#define CC26x0_VIMS_H +#ifndef CC26X0_VIMS_H +#define CC26X0_VIMS_H #ifdef __cplusplus extern "C" { @@ -232,6 +232,6 @@ typedef struct { } #endif -#endif /* CC26x0_VIMS_H */ +#endif /* CC26X0_VIMS_H */ /*@}*/ diff --git a/cpu/cc26x0/include/cc26x0_wdt.h b/cpu/cc26x0/include/cc26x0_wdt.h index 3137adca9a..3ff9317852 100644 --- a/cpu/cc26x0/include/cc26x0_wdt.h +++ b/cpu/cc26x0/include/cc26x0_wdt.h @@ -14,8 +14,8 @@ * @brief CC26x0 WDT register definitions */ -#ifndef CC26x0_WDT_H -#define CC26x0_WDT_H +#ifndef CC26X0_WDT_H +#define CC26X0_WDT_H #include @@ -51,6 +51,6 @@ typedef struct { } /* end extern "C" */ #endif -#endif /* CC26x0_WDT_H */ +#endif /* CC26X0_WDT_H */ /*@}*/ diff --git a/cpu/cc430/include/cc430-adc.h b/cpu/cc430/include/cc430-adc.h index cd01612da3..ac25b830ab 100644 --- a/cpu/cc430/include/cc430-adc.h +++ b/cpu/cc430/include/cc430-adc.h @@ -49,4 +49,4 @@ extern uint8_t adc12_data_ready; } #endif -#endif +#endif /* CC430_ADC_H */ diff --git a/cpu/cc430/include/cc430-rtc.h b/cpu/cc430/include/cc430-rtc.h index a1e6374a1e..e01ea015ec 100644 --- a/cpu/cc430/include/cc430-rtc.h +++ b/cpu/cc430/include/cc430-rtc.h @@ -48,4 +48,4 @@ void rtc_remove_alarm(void); } #endif -#endif +#endif /* CC430_RTC_H */ diff --git a/cpu/cc430/include/periph_cpu.h b/cpu/cc430/include/periph_cpu.h index c14e77537c..15e19626ff 100644 --- a/cpu/cc430/include/periph_cpu.h +++ b/cpu/cc430/include/periph_cpu.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef CPU_PERIPH_H -#define CPU_PERIPH_H +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #include "cpu.h" #include "cc430_regs.h" @@ -32,5 +32,5 @@ extern "C" { } #endif -#endif /* CPU_PERIPH_H */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/cortexm_common/include/vectors_cortexm.h b/cpu/cortexm_common/include/vectors_cortexm.h index 031513be06..21406c768d 100644 --- a/cpu/cortexm_common/include/vectors_cortexm.h +++ b/cpu/cortexm_common/include/vectors_cortexm.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef VECTORS_DEFAULT_H -#define VECTORS_DEFAULT_H +#ifndef VECTORS_CORTEXM_H +#define VECTORS_CORTEXM_H #ifdef __cplusplus extern "C" { @@ -122,5 +122,5 @@ void dummy_handler_default(void); } #endif -#endif /* VECTORS_DEFAULT_H */ +#endif /* VECTORS_CORTEXM_H */ /** @} */ diff --git a/cpu/ezr32wg/include/cpu_conf.h b/cpu/ezr32wg/include/cpu_conf.h index 7bbad89e52..febf214b58 100644 --- a/cpu/ezr32wg/include/cpu_conf.h +++ b/cpu/ezr32wg/include/cpu_conf.h @@ -46,5 +46,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/ezr32wg/include/periph_cpu.h b/cpu/ezr32wg/include/periph_cpu.h index f1ad2aad92..338a7a0bbf 100644 --- a/cpu/ezr32wg/include/periph_cpu.h +++ b/cpu/ezr32wg/include/periph_cpu.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef CPU_PERIPH_H -#define CPU_PERIPH_H +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #include "cpu.h" @@ -137,5 +137,5 @@ typedef struct { } #endif -#endif /* CPU_PERIPH_H */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/kinetis_common/include/mcg.h b/cpu/kinetis_common/include/mcg.h index 7d12c768ea..2c17c179c5 100644 --- a/cpu/kinetis_common/include/mcg.h +++ b/cpu/kinetis_common/include/mcg.h @@ -97,8 +97,8 @@ * @author Johann Fischer */ -#ifndef MCG_CPU_H -#define MCG_CPU_H +#ifndef MCG_H +#define MCG_H #include "periph_conf.h" @@ -133,4 +133,4 @@ int kinetis_mcg_set_mode(kinetis_mcg_mode_t mode); #endif /* KINETIS_CPU_USE_MCG */ /** @} */ -#endif /* MCG_CPU_H */ +#endif /* MCG_H */ diff --git a/cpu/lpc2387/include/cpu_conf.h b/cpu/lpc2387/include/cpu_conf.h index a50a5ee247..15696ef3a2 100644 --- a/cpu/lpc2387/include/cpu_conf.h +++ b/cpu/lpc2387/include/cpu_conf.h @@ -7,8 +7,8 @@ */ -#ifndef CPUCONF_H -#define CPUCONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus extern "C" { @@ -68,4 +68,4 @@ extern "C" { #endif /** @} */ -#endif /* CPUCONF_H */ +#endif /* CPU_CONF_H */ diff --git a/cpu/mips32r2_common/include/cpu.h b/cpu/mips32r2_common/include/cpu.h index cb1d1c633c..119adc58ac 100644 --- a/cpu/mips32r2_common/include/cpu.h +++ b/cpu/mips32r2_common/include/cpu.h @@ -18,8 +18,8 @@ * @author Neil Jones */ -#ifndef CPU_H_ -#define CPU_H_ +#ifndef CPU_H +#define CPU_H #ifdef __cplusplus extern "C" { @@ -44,5 +44,5 @@ static inline void cpu_print_last_instruction(void) } #endif -#endif +#endif /* CPU_H */ /** @} */ diff --git a/cpu/mips32r2_common/include/cpu_conf.h b/cpu/mips32r2_common/include/cpu_conf.h index 74fa00c7d9..d4d65a0252 100644 --- a/cpu/mips32r2_common/include/cpu_conf.h +++ b/cpu/mips32r2_common/include/cpu_conf.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef _CPU_CONF_H_ -#define _CPU_CONF_H_ +#ifndef CPU_CONF_H +#define CPU_CONF_H /** * @defgroup cpu_mips32r2_commom MIPS32R2 Common @@ -64,5 +64,5 @@ extern "C" { } #endif -#endif +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/mips32r2_common/include/eic_irq.h b/cpu/mips32r2_common/include/eic_irq.h index d7db558357..c24c38875c 100644 --- a/cpu/mips32r2_common/include/eic_irq.h +++ b/cpu/mips32r2_common/include/eic_irq.h @@ -17,8 +17,8 @@ * @author Neil Jones */ -#ifndef EIC_IRQ_H_ -#define EIC_IRQ_H_ +#ifndef EIC_IRQ_H +#define EIC_IRQ_H #ifdef __cplusplus extern "C" { @@ -65,5 +65,5 @@ void eic_irq_ack(int irq_num); } #endif -#endif +#endif /* EIC_IRQ_H */ /** @} */ diff --git a/cpu/mips_pic32mx/include/cpu.h b/cpu/mips_pic32mx/include/cpu.h index 4419212ba6..820584037b 100644 --- a/cpu/mips_pic32mx/include/cpu.h +++ b/cpu/mips_pic32mx/include/cpu.h @@ -20,8 +20,8 @@ * @author Neil Jones */ -#ifndef _CPU_H_ -#define _CPU_H_ +#ifndef CPU_H +#define CPU_H #ifdef __cplusplus extern "C" { @@ -51,5 +51,5 @@ static inline void cpu_print_last_instruction(void) } #endif -#endif +#endif /* CPU_H */ /** @} */ diff --git a/cpu/mips_pic32mx/include/cpu_conf.h b/cpu/mips_pic32mx/include/cpu_conf.h index 6ef3af3e1a..6db3ffbdbc 100644 --- a/cpu/mips_pic32mx/include/cpu_conf.h +++ b/cpu/mips_pic32mx/include/cpu_conf.h @@ -19,8 +19,8 @@ * @author Neil Jones */ -#ifndef _CPU_CONF_H_ -#define _CPU_CONF_H_ +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus extern "C" { @@ -64,5 +64,5 @@ extern "C" { } #endif -#endif +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/mips_pic32mz/include/cpu.h b/cpu/mips_pic32mz/include/cpu.h index 54299718c7..399f66de50 100644 --- a/cpu/mips_pic32mz/include/cpu.h +++ b/cpu/mips_pic32mz/include/cpu.h @@ -19,8 +19,8 @@ * @author Neil Jones */ -#ifndef CPU_H_ -#define CPU_H_ +#ifndef CPU_H +#define CPU_H #ifdef __cplusplus extern "C" { @@ -50,5 +50,5 @@ static inline void cpu_print_last_instruction(void) } #endif -#endif +#endif /* CPU_H */ /** @} */ diff --git a/cpu/mips_pic32mz/include/cpu_conf.h b/cpu/mips_pic32mz/include/cpu_conf.h index f2bd995541..3e120effb0 100644 --- a/cpu/mips_pic32mz/include/cpu_conf.h +++ b/cpu/mips_pic32mz/include/cpu_conf.h @@ -19,8 +19,8 @@ * @author Neil Jones */ -#ifndef _CPU_CONF_H_ -#define _CPU_CONF_H_ +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus extern "C" { @@ -65,5 +65,5 @@ extern "C" { } #endif -#endif +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/msp430_common/include/cpu_conf.h b/cpu/msp430_common/include/cpu_conf.h index 00b80740e2..3bf046d1d2 100644 --- a/cpu/msp430_common/include/cpu_conf.h +++ b/cpu/msp430_common/include/cpu_conf.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef CPUCONF_H -#define CPUCONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus extern "C" { @@ -47,4 +47,4 @@ extern "C" { } #endif -#endif /* CPUCONF_H */ +#endif /* CPU_CONF_H */ diff --git a/cpu/msp430_common/include/stdatomic.h b/cpu/msp430_common/include/stdatomic.h index acecd28db2..052fbf0db7 100644 --- a/cpu/msp430_common/include/stdatomic.h +++ b/cpu/msp430_common/include/stdatomic.h @@ -29,8 +29,8 @@ /* This file was imported into RIOT from newlib 2.3.0 */ -#ifndef STDATOMIC_H_ -#define STDATOMIC_H_ +#ifndef STDATOMIC_H +#define STDATOMIC_H #include #include @@ -423,4 +423,4 @@ atomic_flag_clear(volatile atomic_flag *__object) } #endif -#endif /* !_STDATOMIC_H_ */ +#endif /* STDATOMIC_H */ diff --git a/cpu/msp430_common/include/stdio.h b/cpu/msp430_common/include/stdio.h index 8cfb4cd38e..2a5223ba60 100644 --- a/cpu/msp430_common/include/stdio.h +++ b/cpu/msp430_common/include/stdio.h @@ -17,8 +17,8 @@ * @author Joakim Nohlgård #include @@ -708,4 +708,4 @@ extern "C" { } #endif -#endif /* !_SYS_CDEFS_H_ */ +#endif /* SYS_CDEFS_H */ diff --git a/cpu/msp430_common/include/sys/features.h b/cpu/msp430_common/include/sys/features.h index ce4da2772b..19ff7e05eb 100644 --- a/cpu/msp430_common/include/sys/features.h +++ b/cpu/msp430_common/include/sys/features.h @@ -20,8 +20,8 @@ /* This file was imported into RIOT from newlib 2.3.0 */ -#ifndef _SYS_FEATURES_H -#define _SYS_FEATURES_H +#ifndef SYS_FEATURES_H +#define SYS_FEATURES_H #ifdef __cplusplus extern "C" { @@ -511,4 +511,4 @@ extern "C" { #ifdef __cplusplus } #endif -#endif /* _SYS_FEATURES_H */ +#endif /* SYS_FEATURES_H */ diff --git a/cpu/msp430_common/include/sys/stat.h b/cpu/msp430_common/include/sys/stat.h index e87823272e..2b3ec0933d 100644 --- a/cpu/msp430_common/include/sys/stat.h +++ b/cpu/msp430_common/include/sys/stat.h @@ -18,8 +18,8 @@ /* without the GCC pragma above #include_next will trigger a pedantic error */ #include_next #else -#ifndef SYS_STAT_H_ -#define SYS_STAT_H_ +#ifndef SYS_STAT_H +#define SYS_STAT_H #include /* for struct timespec */ #include /* for fsblkcnt_t, fsfilcnt_t */ @@ -121,7 +121,7 @@ int utimensat(int, const char *, const struct timespec [2], int); } #endif -#endif /* SYS_STAT_H_ */ +#endif /* SYS_STAT_H */ #endif /* CPU_NATIVE */ diff --git a/cpu/msp430_common/include/sys/time.h b/cpu/msp430_common/include/sys/time.h index 9b0e16573a..3a56dc7fdb 100644 --- a/cpu/msp430_common/include/sys/time.h +++ b/cpu/msp430_common/include/sys/time.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef TIME_H -#define TIME_H +#ifndef SYS_TIME_H +#define SYS_TIME_H #include "msp430_types.h" @@ -19,4 +19,4 @@ extern "C" { } #endif -#endif /* TIME_H */ +#endif /* SYS_TIME_H */ diff --git a/cpu/msp430_common/include/time.h b/cpu/msp430_common/include/time.h index 683e16edcf..9664d656c8 100644 --- a/cpu/msp430_common/include/time.h +++ b/cpu/msp430_common/include/time.h @@ -17,8 +17,8 @@ * @author Martine Lenders */ -#ifndef MSPGCC_TIME_H -#define MSPGCC_TIME_H +#ifndef TIME_H +#define TIME_H #include #include "msp430_types.h" @@ -47,5 +47,5 @@ struct tm { } #endif -#endif +#endif /* TIME_H */ /** @} */ diff --git a/cpu/msp430fxyz/include/periph_cpu.h b/cpu/msp430fxyz/include/periph_cpu.h index 85ab53d5fb..9d1e3319f4 100644 --- a/cpu/msp430fxyz/include/periph_cpu.h +++ b/cpu/msp430fxyz/include/periph_cpu.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef CPU_PERIPH_H -#define CPU_PERIPH_H +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #include "cpu.h" #include "msp430_regs.h" @@ -132,5 +132,5 @@ void gpio_periph_mode(gpio_t pin, bool enable); } #endif -#endif /* CPU_PERIPH_H */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/native/include/async_read.h b/cpu/native/include/async_read.h index 0f61d1a6a6..620170d576 100644 --- a/cpu/native/include/async_read.h +++ b/cpu/native/include/async_read.h @@ -71,5 +71,5 @@ void native_async_read_add_handler(int fd, void *arg, native_async_read_callback } #endif -#endif +#endif /* ASYNC_READ_H */ /** @} */ diff --git a/cpu/native/include/cpu.h b/cpu/native/include/cpu.h index efc4ad7660..f838a76cfe 100644 --- a/cpu/native/include/cpu.h +++ b/cpu/native/include/cpu.h @@ -17,8 +17,8 @@ * @author Ludwig Knüpfer */ -#ifndef _CPU_H -#define _CPU_H +#ifndef CPU_H +#define CPU_H #include @@ -42,4 +42,4 @@ __attribute__((always_inline)) static inline void cpu_print_last_instruction(voi #endif /** @} */ -#endif //_CPU_H +#endif /* CPU_H */ diff --git a/cpu/native/include/cpu_conf.h b/cpu/native/include/cpu_conf.h index 08dd88225e..16f305f248 100644 --- a/cpu/native/include/cpu_conf.h +++ b/cpu/native/include/cpu_conf.h @@ -13,8 +13,8 @@ * @author Ludwig Knüpfer * @} */ -#ifndef CPUCONF_H -#define CPUCONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus extern "C" { @@ -64,4 +64,4 @@ extern "C" { } #endif -#endif /* CPUCONF_H */ +#endif /* CPU_CONF_H */ diff --git a/cpu/native/include/native_internal.h b/cpu/native/include/native_internal.h index d93d740f08..716c526cd5 100644 --- a/cpu/native/include/native_internal.h +++ b/cpu/native/include/native_internal.h @@ -16,8 +16,8 @@ * @author Ludwig Knüpfer */ -#ifndef _NATIVE_INTERNAL_H -#define _NATIVE_INTERNAL_H +#ifndef NATIVE_INTERNAL_H +#define NATIVE_INTERNAL_H #include #include @@ -188,4 +188,4 @@ int unregister_interrupt(int sig); #include "sched.h" /** @} */ -#endif /* _NATIVE_INTERNAL_H */ +#endif /* NATIVE_INTERNAL_H */ diff --git a/cpu/native/include/netdev_tap_params.h b/cpu/native/include/netdev_tap_params.h index 17038dd106..4fe6e1af40 100644 --- a/cpu/native/include/netdev_tap_params.h +++ b/cpu/native/include/netdev_tap_params.h @@ -16,8 +16,8 @@ * * @author Martine Lenders */ -#ifndef NETDEV_TAP_PARAMS_H_ -#define NETDEV_TAP_PARAMS_H_ +#ifndef NETDEV_TAP_PARAMS_H +#define NETDEV_TAP_PARAMS_H #include "netdev_tap.h" @@ -46,5 +46,5 @@ extern netdev_tap_params_t netdev_tap_params[NETDEV_TAP_MAX]; } #endif -#endif /* NETDEV_TAP_PARAMS_H_ */ +#endif /* NETDEV_TAP_PARAMS_H */ /** @} */ diff --git a/cpu/native/include/tty_uart.h b/cpu/native/include/tty_uart.h index 73d2547ff4..880104b2d6 100644 --- a/cpu/native/include/tty_uart.h +++ b/cpu/native/include/tty_uart.h @@ -37,5 +37,5 @@ void tty_uart_setup(uart_t uart, const char *name); } #endif -#endif +#endif /* TTY_UART_H */ /** @} */ diff --git a/cpu/native/osx-libc-extra/malloc.h b/cpu/native/osx-libc-extra/malloc.h index 21ba4201d6..681341c433 100644 --- a/cpu/native/osx-libc-extra/malloc.h +++ b/cpu/native/osx-libc-extra/malloc.h @@ -63,7 +63,7 @@ extern void free (void *ptr); } #endif -#endif /* malloc.h */ +#endif /* MALLOC_H */ /** * @} diff --git a/cpu/nrf51/include/periph_cpu.h b/cpu/nrf51/include/periph_cpu.h index ba473fcf86..d41b968a5e 100644 --- a/cpu/nrf51/include/periph_cpu.h +++ b/cpu/nrf51/include/periph_cpu.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef PERIPH_CPU_ -#define PERIPH_CPU_ +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #include "periph_cpu_common.h" @@ -63,5 +63,5 @@ typedef struct { } #endif -#endif /* PERIPH_CPU_ */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/nrf52/include/periph_cpu.h b/cpu/nrf52/include/periph_cpu.h index 370e9fdaf3..21bd8c3060 100644 --- a/cpu/nrf52/include/periph_cpu.h +++ b/cpu/nrf52/include/periph_cpu.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef PERIPH_CPU_ -#define PERIPH_CPU_ +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #include "periph_cpu_common.h" @@ -39,5 +39,5 @@ extern "C" { } #endif -#endif /* PERIPH_CPU_ */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/sam0_common/include/periph_cpu_common.h b/cpu/sam0_common/include/periph_cpu_common.h index 65bb36a5e7..461b1e2753 100644 --- a/cpu/sam0_common/include/periph_cpu_common.h +++ b/cpu/sam0_common/include/periph_cpu_common.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef CPU_PERIPH_COMMON_H -#define CPU_PERIPH_COMMON_H +#ifndef PERIPH_CPU_COMMON_H +#define PERIPH_CPU_COMMON_H #include "cpu.h" @@ -215,5 +215,5 @@ typedef struct { } #endif -#endif /* CPU_PERIPH_COMMON_H */ +#endif /* PERIPH_CPU_COMMON_H */ /** @} */ diff --git a/cpu/samd21/include/periph_cpu.h b/cpu/samd21/include/periph_cpu.h index 81cdcdcbff..3f5313ea1f 100644 --- a/cpu/samd21/include/periph_cpu.h +++ b/cpu/samd21/include/periph_cpu.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef CPU_PERIPH_H -#define CPU_PERIPH_H +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #include @@ -129,5 +129,5 @@ typedef enum { } #endif -#endif /* CPU_PERIPH_H */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/stm32f0/include/cpu_conf.h b/cpu/stm32f0/include/cpu_conf.h index 062ee8cc53..bdba44642a 100644 --- a/cpu/stm32f0/include/cpu_conf.h +++ b/cpu/stm32f0/include/cpu_conf.h @@ -20,8 +20,8 @@ * @author Alexandre Abadie */ -#ifndef STM32F0_CPU_CONF_H -#define STM32F0_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -87,5 +87,5 @@ extern "C" { } #endif -#endif /* STM32F0_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32f3/include/cpu_conf.h b/cpu/stm32f3/include/cpu_conf.h index cab91ac8b9..925cf28ff6 100644 --- a/cpu/stm32f3/include/cpu_conf.h +++ b/cpu/stm32f3/include/cpu_conf.h @@ -19,8 +19,8 @@ * @author Katja Kirstein */ -#ifndef STM32F3_CPU_CONF_H -#define STM32F3_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -54,5 +54,5 @@ extern "C" { } #endif -#endif /* STM32F3_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32f4/include/cpu_conf.h b/cpu/stm32f4/include/cpu_conf.h index 9c6824ba8c..bca30e773d 100644 --- a/cpu/stm32f4/include/cpu_conf.h +++ b/cpu/stm32f4/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef STM32F4_CPU_CONF_H -#define STM32F4_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -58,5 +58,5 @@ extern "C" { } #endif -#endif /* STM32F4_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32f7/include/cpu_conf.h b/cpu/stm32f7/include/cpu_conf.h index d5c7224abd..307b6830b2 100644 --- a/cpu/stm32f7/include/cpu_conf.h +++ b/cpu/stm32f7/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef STM32F7_CPU_CONF_H -#define STM32F7_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -49,5 +49,5 @@ extern "C" { } #endif -#endif /* STM32F7_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32l0/include/cpu_conf.h b/cpu/stm32l0/include/cpu_conf.h index afd7d4be1a..0eeb535937 100644 --- a/cpu/stm32l0/include/cpu_conf.h +++ b/cpu/stm32l0/include/cpu_conf.h @@ -20,8 +20,8 @@ * @author Alexandre Abadie */ -#ifndef STM32L0_CPU_CONF_H -#define STM32L0_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -51,5 +51,5 @@ extern "C" { } #endif -#endif /* STM32F0_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32l1/include/cpu_conf.h b/cpu/stm32l1/include/cpu_conf.h index 024b43c5c5..44e075b51f 100644 --- a/cpu/stm32l1/include/cpu_conf.h +++ b/cpu/stm32l1/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Thomas Eichinger */ -#ifndef CPUCONF_H -#define CPUCONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -42,6 +42,6 @@ extern "C" { } #endif -#endif /* CPUCONF_H */ +#endif /* CPU_CONF_H */ /** @} */ /** @} */ diff --git a/cpu/stm32l4/include/cpu_conf.h b/cpu/stm32l4/include/cpu_conf.h index f0406b265e..eed07c222d 100644 --- a/cpu/stm32l4/include/cpu_conf.h +++ b/cpu/stm32l4/include/cpu_conf.h @@ -20,8 +20,8 @@ * @author Alexandre Abadie */ -#ifndef STM32L4_CPU_CONF_H -#define STM32L4_CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cpu_conf_common.h" @@ -51,5 +51,5 @@ extern "C" { } #endif -#endif /* STM32L4_CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/x86/include/cpu.h b/cpu/x86/include/cpu.h index 56f1b432f0..ef1ca69842 100644 --- a/cpu/x86/include/cpu.h +++ b/cpu/x86/include/cpu.h @@ -26,8 +26,8 @@ * @author René Kijewski */ -#ifndef CPU_X86_CPU_H -#define CPU_X86_CPU_H +#ifndef CPU_H +#define CPU_H #include "kernel_defines.h" #include "irq.h" @@ -124,6 +124,6 @@ static inline void cpu_print_last_instruction(void) } #endif -#endif /* CPU_X86_CPU_H */ +#endif /* CPU_H */ /** @} */ diff --git a/cpu/x86/include/periph_cpu.h b/cpu/x86/include/periph_cpu.h index a6c66c8595..de2bd40af5 100644 --- a/cpu/x86/include/periph_cpu.h +++ b/cpu/x86/include/periph_cpu.h @@ -25,8 +25,8 @@ * @author Kaspar Schleiser */ -#ifndef PERIPH_CONF_ -#define PERIPH_CONF_ +#ifndef PERIPH_CPU_H +#define PERIPH_CPU_H #ifdef __cplusplus extern "C" { @@ -36,6 +36,6 @@ extern "C" { } #endif -#endif /* PERIPH_CONF_ */ +#endif /* PERIPH_CPU_H */ /** @} */ diff --git a/cpu/x86/include/ucontext.h b/cpu/x86/include/ucontext.h index f6b2356fc3..c4c3d5dd33 100644 --- a/cpu/x86/include/ucontext.h +++ b/cpu/x86/include/ucontext.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__UCONTEXT__HPP__ -#define CPU__X86__UCONTEXT__HPP__ +#ifndef UCONTEXT_H +#define UCONTEXT_H #include #include @@ -169,6 +169,6 @@ int swapcontext(ucontext_t *oucp, const ucontext_t *ucp); } #endif -#endif +#endif /* UCONTEXT_H */ /** @} */ diff --git a/cpu/x86/include/x86_cmos.h b/cpu/x86/include/x86_cmos.h index e8de2ab0aa..d9ec146716 100644 --- a/cpu/x86/include/x86_cmos.h +++ b/cpu/x86/include/x86_cmos.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__CMOS__H__ -#define CPU__X86__CMOS__H__ +#ifndef X86_CMOS_H +#define X86_CMOS_H #include "x86_ports.h" @@ -66,6 +66,6 @@ void x86_cmos_serial(uint8_t (*serial)[CMOS_SERIAL_LEN]); } #endif -#endif +#endif /* X86_CMOS_H */ /** @} */ diff --git a/cpu/x86/include/x86_interrupts.h b/cpu/x86/include/x86_interrupts.h index e1f4558353..6007e6fb23 100644 --- a/cpu/x86/include/x86_interrupts.h +++ b/cpu/x86/include/x86_interrupts.h @@ -26,8 +26,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__INTERRUPTS__H__ -#define CPU__X86__INTERRUPTS__H__ +#ifndef X86_INTERRUPTS_H +#define X86_INTERRUPTS_H #include "ucontext.h" @@ -160,6 +160,6 @@ void x86_print_registers(struct x86_pushad *orig_ctx, unsigned long error_code); } #endif -#endif +#endif /* X86_INTERRUPTS_H */ /** @} */ diff --git a/cpu/x86/include/x86_kernel_memory.h b/cpu/x86/include/x86_kernel_memory.h index 8c86abe569..973ed2dfc8 100644 --- a/cpu/x86/include/x86_kernel_memory.h +++ b/cpu/x86/include/x86_kernel_memory.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef KERNEL_MEMORY_H__ -#define KERNEL_MEMORY_H__ +#ifndef X86_KERNEL_MEMORY_H +#define X86_KERNEL_MEMORY_H #ifdef __cplusplus extern "C" { @@ -119,6 +119,6 @@ extern char _heap_start; } #endif -#endif +#endif /* X86_KERNEL_MEMORY_H */ /** @} */ diff --git a/cpu/x86/include/x86_memory.h b/cpu/x86/include/x86_memory.h index b9bb81352f..3a4b85082a 100644 --- a/cpu/x86/include/x86_memory.h +++ b/cpu/x86/include/x86_memory.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__MEMORY__H__ -#define CPU__X86__MEMORY__H__ +#ifndef X86_MEMORY_H +#define X86_MEMORY_H #include #include @@ -178,6 +178,6 @@ void x86_init_gdt(void); } #endif -#endif +#endif /* X86_MEMORY_H */ /** @} */ diff --git a/cpu/x86/include/x86_pci.h b/cpu/x86/include/x86_pci.h index d42018f3e5..cc9f8124f2 100644 --- a/cpu/x86/include/x86_pci.h +++ b/cpu/x86/include/x86_pci.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__PCI__H__ -#define CPU__X86__PCI__H__ +#ifndef X86_PCI_H +#define X86_PCI_H #include "x86_pci_init.h" #include "x86_pic.h" @@ -418,6 +418,6 @@ void x86_pci_set_irq(struct x86_known_pci_device *d, uint8_t irq_num); } #endif -#endif +#endif /* X86_PCI_H */ /** @} */ diff --git a/cpu/x86/include/x86_pci_strings.h b/cpu/x86/include/x86_pci_strings.h index b34a3be4d7..6e8386508e 100644 --- a/cpu/x86/include/x86_pci_strings.h +++ b/cpu/x86/include/x86_pci_strings.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__PCI_NAMES__H__ -#define CPU__X86__PCI_NAMES__H__ +#ifndef X86_PCI_STRINGS_H +#define X86_PCI_STRINGS_H #ifdef __cplusplus extern "C" { @@ -56,6 +56,6 @@ const char *x86_pci_device_id_to_string(unsigned vendor_id, unsigned device_id, } #endif -#endif +#endif /* X86_PCI_STRINGS_H */ /** @} */ diff --git a/cpu/x86/include/x86_pic.h b/cpu/x86/include/x86_pic.h index 7ef111e16b..b94a56b6fd 100644 --- a/cpu/x86/include/x86_pic.h +++ b/cpu/x86/include/x86_pic.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__PIC__H__ -#define CPU__X86__PIC__H__ +#ifndef X86_PIC_H +#define X86_PIC_H #include @@ -171,6 +171,6 @@ void x86_pic_disable_irq(unsigned num); } #endif -#endif +#endif /* X86_PIC_H */ /** @} */ diff --git a/cpu/x86/include/x86_pit.h b/cpu/x86/include/x86_pit.h index 3eab35d5c9..d31977b7d7 100644 --- a/cpu/x86/include/x86_pit.h +++ b/cpu/x86/include/x86_pit.h @@ -31,8 +31,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__PIT__H__ -#define CPU__X86__PIT__H__ +#ifndef X86_PIT_H +#define X86_PIT_H #include #include @@ -117,6 +117,6 @@ bool x86_pit_set(unsigned channel, unsigned mode, unsigned hz); } #endif -#endif +#endif /* X86_PIT_H */ /** @} */ diff --git a/cpu/x86/include/x86_ports.h b/cpu/x86/include/x86_ports.h index d0b8177fc2..16584a19b8 100644 --- a/cpu/x86/include/x86_ports.h +++ b/cpu/x86/include/x86_ports.h @@ -23,8 +23,8 @@ // Copy of Pintos' threads/io.h, license header extracted from Pintos' LICENSE file. -#ifndef CPU__X86__PORTS_H__ -#define CPU__X86__PORTS_H__ +#ifndef X86_PORTS_H +#define X86_PORTS_H #include #include @@ -191,4 +191,4 @@ static inline void __attribute__((always_inline)) io_wait(void) } #endif -#endif +#endif /* X86_PORTS_H */ diff --git a/cpu/x86/include/x86_reboot.h b/cpu/x86/include/x86_reboot.h index e39981f2d7..02ff7228d1 100644 --- a/cpu/x86/include/x86_reboot.h +++ b/cpu/x86/include/x86_reboot.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__REBOOT__H__ -#define CPU__X86__REBOOT__H__ +#ifndef X86_REBOOT_H +#define X86_REBOOT_H #include #include "kernel_defines.h" @@ -93,6 +93,6 @@ void x86_set_shutdown_fun(x86_shutdown_t fun); } #endif -#endif +#endif /* X86_REBOOT_H */ /** @} */ diff --git a/cpu/x86/include/x86_registers.h b/cpu/x86/include/x86_registers.h index 894083a77a..1489ec5a42 100644 --- a/cpu/x86/include/x86_registers.h +++ b/cpu/x86/include/x86_registers.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__REGISTERS__H__ -#define CPU__X86__REGISTERS__H__ +#ifndef X86_REGISTERS_H +#define X86_REGISTERS_H #include @@ -258,6 +258,6 @@ static inline uint64_t X86_CR_ATTR cpuid_caps(void) } #endif -#endif +#endif /* X86_REGISTERS_H */ /** @} */ diff --git a/cpu/x86/include/x86_rtc.h b/cpu/x86/include/x86_rtc.h index a94505607a..3928843c6f 100644 --- a/cpu/x86/include/x86_rtc.h +++ b/cpu/x86/include/x86_rtc.h @@ -28,8 +28,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__RTC__H__ -#define CPU__X86__RTC__H__ +#ifndef X86_RTC_H +#define X86_RTC_H #include "msg.h" #include "x86_cmos.h" @@ -215,6 +215,6 @@ void x86_rtc_set_update_callback(x86_rtc_callback_t cb); } #endif -#endif +#endif /* X86_RTC_H */ /** @} */ diff --git a/cpu/x86/include/x86_threading.h b/cpu/x86/include/x86_threading.h index 8f58aa68af..257f47bd28 100644 --- a/cpu/x86/include/x86_threading.h +++ b/cpu/x86/include/x86_threading.h @@ -26,8 +26,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__THREADING__H__ -#define CPU__X86__THREADING__H__ +#ifndef X86_THREADING_H +#define X86_THREADING_H #include @@ -52,6 +52,6 @@ extern bool x86_in_isr; } #endif -#endif +#endif /* X86_THREADING_H */ /** @} */ diff --git a/cpu/x86/include/x86_uart.h b/cpu/x86/include/x86_uart.h index 0ac0cfb4bb..bf983f9a24 100644 --- a/cpu/x86/include/x86_uart.h +++ b/cpu/x86/include/x86_uart.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__UART__H__ -#define CPU__X86__UART__H__ +#ifndef X86_UART_H +#define X86_UART_H #include "x86_pic.h" @@ -179,6 +179,6 @@ enum iir_t { } #endif -#endif +#endif /* X86_UART_H */ /** @} */ diff --git a/cpu/x86/include/x86_videoram.h b/cpu/x86/include/x86_videoram.h index c15c91c7ff..7cefb7ab85 100644 --- a/cpu/x86/include/x86_videoram.h +++ b/cpu/x86/include/x86_videoram.h @@ -25,8 +25,8 @@ * @author René Kijewski */ -#ifndef CPU__X86__VIDEORAM_H__ -#define CPU__X86__VIDEORAM_H__ +#ifndef X86_VIDEORAM_H +#define X86_VIDEORAM_H #ifdef __cplusplus extern "C" { @@ -65,6 +65,6 @@ void videoram_put_hex(unsigned long v); } #endif -#endif +#endif /* X86_VIDEORAM_H */ /** @} */ diff --git a/drivers/bh1750fvi/include/bh1750fvi_internal.h b/drivers/bh1750fvi/include/bh1750fvi_internal.h index b9d65347bd..4dc629a5c1 100644 --- a/drivers/bh1750fvi/include/bh1750fvi_internal.h +++ b/drivers/bh1750fvi/include/bh1750fvi_internal.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef BH1750FVI_REGS_H -#define BH1750FVI_REGS_H +#ifndef BH1750FVI_INTERNAL_H +#define BH1750FVI_INTERNAL_H #ifdef __cplusplus @@ -63,5 +63,5 @@ extern "C" { } #endif -#endif /* BH1750FVI_REGS_H */ +#endif /* BH1750FVI_INTERNAL_H */ /** @} */ diff --git a/drivers/bmp180/include/bmp180_internals.h b/drivers/bmp180/include/bmp180_internals.h index aea428816a..3941ab3afb 100644 --- a/drivers/bmp180/include/bmp180_internals.h +++ b/drivers/bmp180/include/bmp180_internals.h @@ -18,8 +18,8 @@ * @author Alexandre Abadie */ -#ifndef BMP180_REGS_H -#define BMP180_REGS_H +#ifndef BMP180_INTERNALS_H +#define BMP180_INTERNALS_H #ifdef __cplusplus extern "C" { @@ -58,5 +58,5 @@ extern "C" { } #endif -#endif /* BMP180_REGS_H */ +#endif /* BMP180_INTERNALS_H */ /** @} */ diff --git a/drivers/cc110x/include/cc110x-defines.h b/drivers/cc110x/include/cc110x-defines.h index 1c1966ef83..0d48799f2a 100644 --- a/drivers/cc110x/include/cc110x-defines.h +++ b/drivers/cc110x/include/cc110x-defines.h @@ -204,4 +204,4 @@ extern "C" { #endif /** @} */ -#endif +#endif /* CC110X_DEFINES_H */ diff --git a/drivers/cc110x/include/gnrc_netdev_cc110x.h b/drivers/cc110x/include/gnrc_netdev_cc110x.h index 9e900075a7..9cd9fdb367 100644 --- a/drivers/cc110x/include/gnrc_netdev_cc110x.h +++ b/drivers/cc110x/include/gnrc_netdev_cc110x.h @@ -19,8 +19,8 @@ #include "net/gnrc/netdev.h" #include "cc110x-netdev.h" -#ifndef GNRC_CC110X_H -#define GNRC_CC110X_H +#ifndef GNRC_NETDEV_CC110X_H +#define GNRC_NETDEV_CC110X_H #ifdef __cplusplus extern "C" { @@ -41,5 +41,5 @@ int gnrc_netdev_cc110x_init(gnrc_netdev_t *gnrc_netdev, netdev_cc110x_t *dev); } #endif -#endif /* GNRC_CC110X_H */ +#endif /* GNRC_NETDEV_CC110X_H */ /** @} */ diff --git a/drivers/dynamixel/include/dynamixel_crc.h b/drivers/dynamixel/include/dynamixel_crc.h index 603d0e1654..c47fada42d 100644 --- a/drivers/dynamixel/include/dynamixel_crc.h +++ b/drivers/dynamixel/include/dynamixel_crc.h @@ -33,5 +33,5 @@ uint16_t dynamixel_crc_update(uint16_t crc_accum, const uint8_t *buffer, size_t } #endif -#endif +#endif /* DYNAMIXEL_CRC_H */ /** @} */ diff --git a/drivers/dynamixel/include/dynamixel_protocol.h b/drivers/dynamixel/include/dynamixel_protocol.h index 221032d3a0..03762b4db7 100644 --- a/drivers/dynamixel/include/dynamixel_protocol.h +++ b/drivers/dynamixel/include/dynamixel_protocol.h @@ -91,5 +91,5 @@ typedef enum { } #endif -#endif +#endif /* DYNAMIXEL_PROTOCOL_H */ /** @} */ diff --git a/drivers/dynamixel/include/dynamixel_reader.h b/drivers/dynamixel/include/dynamixel_reader.h index 7569df7157..ee61d7da51 100644 --- a/drivers/dynamixel/include/dynamixel_reader.h +++ b/drivers/dynamixel/include/dynamixel_reader.h @@ -146,5 +146,5 @@ static inline size_t dynamixel_reader_status_get_payload_size(const dynamixel_re } #endif -#endif +#endif /* DYNAMIXEL_READER_H */ /** @} */ diff --git a/drivers/dynamixel/include/dynamixel_writer.h b/drivers/dynamixel/include/dynamixel_writer.h index 7f0f339682..0d07182a97 100644 --- a/drivers/dynamixel/include/dynamixel_writer.h +++ b/drivers/dynamixel/include/dynamixel_writer.h @@ -98,5 +98,5 @@ void dynamixel_writer_read_make(dynamixel_writer_t *writer, uint8_t id, uint16_t } #endif -#endif +#endif /* DYNAMIXEL_WRITER_H */ /** @} */ diff --git a/drivers/encx24j600/include/encx24j600_defines.h b/drivers/encx24j600/include/encx24j600_defines.h index c56f169e58..dfc435ceb6 100644 --- a/drivers/encx24j600/include/encx24j600_defines.h +++ b/drivers/encx24j600/include/encx24j600_defines.h @@ -17,8 +17,8 @@ * @author Kaspar Schleiser */ -#ifndef ENCX24J600_REGS_H -#define ENCX24J600_REGS_H +#ifndef ENCX24J600_DEFINES_H +#define ENCX24J600_DEFINES_H #ifdef __cplusplus extern "C" { @@ -202,5 +202,5 @@ extern "C" { #ifdef __cplusplus } #endif -#endif /* ENCX24J600_REGS_H */ +#endif /* ENCX24J600_DEFINES_H */ /** @} */ diff --git a/drivers/feetech/include/feetech_protocol.h b/drivers/feetech/include/feetech_protocol.h index 98ddfd4c5d..7e8cffa3e6 100644 --- a/drivers/feetech/include/feetech_protocol.h +++ b/drivers/feetech/include/feetech_protocol.h @@ -95,5 +95,5 @@ typedef enum { } #endif -#endif +#endif /* FEETECH_PROTOCOL_H */ /** @} */ diff --git a/drivers/feetech/include/feetech_reader.h b/drivers/feetech/include/feetech_reader.h index a119819454..ac62bf5d05 100644 --- a/drivers/feetech/include/feetech_reader.h +++ b/drivers/feetech/include/feetech_reader.h @@ -293,5 +293,5 @@ const uint8_t *feetech_reader_sync_write_item_get_payload(const feetech_reader_t } #endif -#endif +#endif /* FEETECH_READER_H */ /** @} */ diff --git a/drivers/feetech/include/feetech_writer.h b/drivers/feetech/include/feetech_writer.h index a09210430d..64412d1c0e 100644 --- a/drivers/feetech/include/feetech_writer.h +++ b/drivers/feetech/include/feetech_writer.h @@ -181,5 +181,5 @@ void feetech_writer_sync_write_add_16bits(feetech_writer_t *writer, uint8_t id, } #endif -#endif +#endif /* FEETECH_WRITER_H */ /** @} */ diff --git a/drivers/ina220/include/ina220-regs.h b/drivers/ina220/include/ina220-regs.h index 13bf8f1c70..02257154b6 100644 --- a/drivers/ina220/include/ina220-regs.h +++ b/drivers/ina220/include/ina220-regs.h @@ -46,5 +46,5 @@ typedef enum ina220_reg { } #endif -#endif /* __L3G4200D_REGS_H */ +#endif /* INA220_REGS_H */ /** @} */ diff --git a/drivers/include/dynamixel.h b/drivers/include/dynamixel.h index fc8108e70b..cc50a013d5 100644 --- a/drivers/include/dynamixel.h +++ b/drivers/include/dynamixel.h @@ -167,5 +167,5 @@ int dynamixel_read(dynamixel_t *device, dynamixel_addr_t reg, uint8_t *data, siz } #endif -#endif +#endif /* DYNAMIXEL_H */ /** @} */ diff --git a/drivers/include/feetech.h b/drivers/include/feetech.h index 1a155f5d91..4005d2101e 100644 --- a/drivers/include/feetech.h +++ b/drivers/include/feetech.h @@ -166,5 +166,5 @@ int feetech_read(feetech_t *device, feetech_addr_t addr, uint8_t *data, size_t l } #endif -#endif +#endif /* FEETECH_H */ /** @} */ diff --git a/drivers/include/hdc1000.h b/drivers/include/hdc1000.h index 61af2fe1d4..1b1f4cb5b8 100644 --- a/drivers/include/hdc1000.h +++ b/drivers/include/hdc1000.h @@ -157,5 +157,5 @@ int hdc1000_read(hdc1000_t *dev, int16_t *temp, int16_t *hum); } #endif -#endif +#endif /* HDC1000_H */ /** @} */ diff --git a/drivers/include/jc42.h b/drivers/include/jc42.h index 8ba08854c1..feda4931c8 100644 --- a/drivers/include/jc42.h +++ b/drivers/include/jc42.h @@ -28,8 +28,8 @@ * @author Koen Zandberg */ -#ifndef JC42_TEMP_H -#define JC42_TEMP_H +#ifndef JC42_H +#define JC42_H #include "periph/i2c.h" #include "saul.h" @@ -122,4 +122,4 @@ int jc42_get_temperature(jc42_t* dev, int16_t* temperature); #endif /** @} */ -#endif /* JC42_TEMP_H */ +#endif /* JC42_H */ diff --git a/drivers/include/kw2xrf.h b/drivers/include/kw2xrf.h index fe0571a4bd..90d2ec3291 100644 --- a/drivers/include/kw2xrf.h +++ b/drivers/include/kw2xrf.h @@ -20,8 +20,8 @@ * @author Sebastian Meiling */ -#ifndef KW2XDRF_H -#define KW2XDRF_H +#ifndef KW2XRF_H +#define KW2XRF_H #include @@ -170,5 +170,5 @@ void kw2xrf_reset_phy(kw2xrf_t *dev); } #endif -#endif /* KW2XDRF_H */ +#endif /* KW2XRF_H */ /** @} */ diff --git a/drivers/include/mag3110.h b/drivers/include/mag3110.h index 5669e0a3c7..c05b3134ad 100644 --- a/drivers/include/mag3110.h +++ b/drivers/include/mag3110.h @@ -202,5 +202,5 @@ int mag3110_read_dtemp(mag3110_t *dev, int8_t *dtemp); } #endif -#endif +#endif /* MAG3110_H */ /** @} */ diff --git a/drivers/include/mpl3115a2.h b/drivers/include/mpl3115a2.h index 7064d069e2..7d0a1459d1 100644 --- a/drivers/include/mpl3115a2.h +++ b/drivers/include/mpl3115a2.h @@ -161,5 +161,5 @@ int mpl3115a2_read_temp(mpl3115a2_t *dev, int16_t *temp); } #endif -#endif +#endif /* MPL3115A2_H */ /** @} */ diff --git a/drivers/include/mtd_spi_nor.h b/drivers/include/mtd_spi_nor.h index a8cb949c9b..16ce87880c 100644 --- a/drivers/include/mtd_spi_nor.h +++ b/drivers/include/mtd_spi_nor.h @@ -21,8 +21,8 @@ * @author Vincent Dupont */ -#ifndef MTD_SPI_NOR_H_ -#define MTD_SPI_NOR_H_ +#ifndef MTD_SPI_NOR_H +#define MTD_SPI_NOR_H #include @@ -144,5 +144,5 @@ extern const mtd_spi_nor_opcode_t mtd_spi_nor_opcode_default; } #endif -#endif /* MTD_SPI_NOR_H_ */ +#endif /* MTD_SPI_NOR_H */ /** @} */ diff --git a/drivers/include/net/netdev.h b/drivers/include/net/netdev.h index b512df9ee8..1cb505c4e0 100644 --- a/drivers/include/net/netdev.h +++ b/drivers/include/net/netdev.h @@ -43,8 +43,8 @@ * @author Hauke Petersen */ -#ifndef NETDEV_H -#define NETDEV_H +#ifndef NET_NETDEV_H +#define NET_NETDEV_H #ifdef __cplusplus extern "C" { @@ -234,4 +234,4 @@ typedef struct netdev_driver { } #endif /** @} */ -#endif /* NETDEV_H */ +#endif /* NET_NETDEV_H */ diff --git a/drivers/include/net/netdev/eth.h b/drivers/include/net/netdev/eth.h index 6eef3430c5..dabcf34172 100644 --- a/drivers/include/net/netdev/eth.h +++ b/drivers/include/net/netdev/eth.h @@ -16,8 +16,8 @@ * @author Kaspar Schleiser */ -#ifndef NETDEV_ETH_H -#define NETDEV_ETH_H +#ifndef NET_NETDEV_ETH_H +#define NET_NETDEV_ETH_H #include @@ -62,4 +62,4 @@ int netdev_eth_set(netdev_t *dev, netopt_t opt, void *value, size_t value_len); } #endif /** @} */ -#endif /* NETDEV_ETH_H */ +#endif /* NET_NETDEV_ETH_H */ diff --git a/drivers/include/net/netdev/ieee802154.h b/drivers/include/net/netdev/ieee802154.h index b66e5dbad8..3d247e3f3e 100644 --- a/drivers/include/net/netdev/ieee802154.h +++ b/drivers/include/net/netdev/ieee802154.h @@ -16,8 +16,8 @@ * * @author Martine Lenders */ -#ifndef NETDEV_IEEE802154_H -#define NETDEV_IEEE802154_H +#ifndef NET_NETDEV_IEEE802154_H +#define NET_NETDEV_IEEE802154_H #include "net/ieee802154.h" #include "net/gnrc/nettype.h" @@ -164,5 +164,5 @@ int netdev_ieee802154_set(netdev_ieee802154_t *dev, netopt_t opt, void *value, } #endif -#endif /* NETDEV_IEEE802154_H */ +#endif /* NET_NETDEV_IEEE802154_H */ /** @} */ diff --git a/drivers/include/nvram-spi.h b/drivers/include/nvram-spi.h index c064d93e22..2034436947 100644 --- a/drivers/include/nvram-spi.h +++ b/drivers/include/nvram-spi.h @@ -20,8 +20,8 @@ * @author Joakim Nohlgård */ -#ifndef DRIVERS_NVRAM_SPI_H -#define DRIVERS_NVRAM_SPI_H +#ifndef NVRAM_SPI_H +#define NVRAM_SPI_H #include #include "nvram.h" @@ -64,5 +64,5 @@ int nvram_spi_init(nvram_t *dev, nvram_spi_params_t *spi_params, size_t size); } #endif -#endif /* DRIVERS_NVRAM_SPI_H */ +#endif /* NVRAM_SPI_H */ /** @} */ diff --git a/drivers/include/nvram.h b/drivers/include/nvram.h index 4eab01be30..04334ad075 100644 --- a/drivers/include/nvram.h +++ b/drivers/include/nvram.h @@ -24,8 +24,8 @@ * @author Joakim Nohlgård */ -#ifndef DRIVERS_NVRAM_H -#define DRIVERS_NVRAM_H +#ifndef NVRAM_H +#define NVRAM_H #include #include @@ -91,5 +91,5 @@ extern const vfs_file_ops_t nvram_vfs_ops; } #endif -#endif /* DRIVERS_NVRAM_H */ +#endif /* NVRAM_H */ /** @} */ diff --git a/drivers/include/pcd8544.h b/drivers/include/pcd8544.h index 825bc4c759..191a1ab79f 100644 --- a/drivers/include/pcd8544.h +++ b/drivers/include/pcd8544.h @@ -19,8 +19,8 @@ * @author Hauke Petersen */ -#ifndef PDC8544_H -#define PDC8544_H +#ifndef PCD8544_H +#define PCD8544_H #include @@ -198,5 +198,5 @@ void pcd8544_riot(pcd8544_t *dev); } #endif -#endif /* PDC8544_H */ +#endif /* PCD8544_H */ /** @} */ diff --git a/drivers/include/periph/dev_enums.h b/drivers/include/periph/dev_enums.h index 7b5de6e29a..94d484cae5 100644 --- a/drivers/include/periph/dev_enums.h +++ b/drivers/include/periph/dev_enums.h @@ -20,8 +20,8 @@ * @author Hauke Petersen */ -#ifndef PERIPH_COMPAT_H -#define PERIPH_COMPAT_H +#ifndef PERIPH_DEV_ENUMS_H +#define PERIPH_DEV_ENUMS_H #include "periph_conf.h" @@ -99,5 +99,5 @@ enum { } #endif -#endif /* PERIPH_COMPAT_H */ +#endif /* PERIPH_DEV_ENUMS_H */ /** @} */ diff --git a/drivers/include/periph/flashpage.h b/drivers/include/periph/flashpage.h index bda2f8d6c7..d5a1e71793 100644 --- a/drivers/include/periph/flashpage.h +++ b/drivers/include/periph/flashpage.h @@ -30,8 +30,8 @@ * @author Hauke Petersen */ -#ifndef FLASHPAGE_H -#define FLASHPAGE_H +#ifndef PERIPH_FLASHPAGE_H +#define PERIPH_FLASHPAGE_H #include @@ -145,5 +145,5 @@ int flashpage_write_and_verify(int page, void *data); } #endif -#endif /* FLASHPAGE_H */ +#endif /* PERIPH_FLASHPAGE_H */ /** @} */ diff --git a/drivers/include/periph/gpio.h b/drivers/include/periph/gpio.h index d75018bb9e..f7290fdbc3 100644 --- a/drivers/include/periph/gpio.h +++ b/drivers/include/periph/gpio.h @@ -50,8 +50,8 @@ * @author Hauke Petersen */ -#ifndef GPIO_H -#define GPIO_H +#ifndef PERIPH_GPIO_H +#define PERIPH_GPIO_H #include @@ -223,5 +223,5 @@ void gpio_write(gpio_t pin, int value); } #endif -#endif /* GPIO_H */ +#endif /* PERIPH_GPIO_H */ /** @} */ diff --git a/drivers/include/periph/i2c.h b/drivers/include/periph/i2c.h index 8eb36d59c0..fa16653064 100644 --- a/drivers/include/periph/i2c.h +++ b/drivers/include/periph/i2c.h @@ -51,8 +51,8 @@ * @author Thomas Eichinger */ -#ifndef I2C_H -#define I2C_H +#ifndef PERIPH_I2C_H +#define PERIPH_I2C_H #include #include @@ -283,5 +283,5 @@ void i2c_poweroff(i2c_t dev); } #endif -#endif /* I2C_H */ +#endif /* PERIPH_I2C_H */ /** @} */ diff --git a/drivers/include/periph/pm.h b/drivers/include/periph/pm.h index 538210b485..56432a7760 100644 --- a/drivers/include/periph/pm.h +++ b/drivers/include/periph/pm.h @@ -20,8 +20,8 @@ * @author Kaspar Schleiser */ -#ifndef PM_H -#define PM_H +#ifndef PERIPH_PM_H +#define PERIPH_PM_H #include "assert.h" #include "periph_cpu.h" @@ -51,5 +51,5 @@ void pm_set_lowest(void); } #endif -#endif /* __PM_H */ +#endif /* PERIPH_PM_H */ /** @} */ diff --git a/drivers/include/periph/rtc.h b/drivers/include/periph/rtc.h index 935bb30afa..720b023260 100644 --- a/drivers/include/periph/rtc.h +++ b/drivers/include/periph/rtc.h @@ -23,8 +23,8 @@ * @author Thomas Eichinger */ -#ifndef RTC_H -#define RTC_H +#ifndef PERIPH_RTC_H +#define PERIPH_RTC_H #include #include "periph_conf.h" @@ -114,5 +114,5 @@ void rtc_poweroff(void); } #endif -#endif /* RTC_H */ +#endif /* PERIPH_RTC_H */ /** @} */ diff --git a/drivers/include/periph/rtt.h b/drivers/include/periph/rtt.h index 3675c4fa44..04b8cdd031 100644 --- a/drivers/include/periph/rtt.h +++ b/drivers/include/periph/rtt.h @@ -20,8 +20,8 @@ * @author Hauke Petersen */ -#ifndef RTT_H -#define RTT_H +#ifndef PERIPH_RTT_H +#define PERIPH_RTT_H #include "periph_conf.h" @@ -172,5 +172,5 @@ void rtt_poweroff(void); } #endif -#endif /* RTT_H */ +#endif /* PERIPH_RTT_H */ /** @} */ diff --git a/drivers/include/pn532.h b/drivers/include/pn532.h index 47072ba47e..38f35c8a67 100644 --- a/drivers/include/pn532.h +++ b/drivers/include/pn532.h @@ -18,8 +18,8 @@ * @author Víctor Ariño */ -#ifndef NFC_READER_INCLUDE_PN532_H -#define NFC_READER_INCLUDE_PN532_H +#ifndef PN532_H +#define PN532_H #ifdef __cplusplus extern "C" { @@ -383,5 +383,5 @@ void pn532_release_passive(pn532_t *dev, unsigned target_id); } #endif -#endif /* NFC_READER_INCLUDE_PN532_H */ +#endif /* PN532_H */ /** @} */ diff --git a/drivers/include/tcs37727.h b/drivers/include/tcs37727.h index 9d09dd9bb1..479bbad6e1 100644 --- a/drivers/include/tcs37727.h +++ b/drivers/include/tcs37727.h @@ -139,5 +139,5 @@ void tcs37727_read(tcs37727_t *dev, tcs37727_data_t *data); } #endif -#endif +#endif /* TCS37727_H */ /** @} */ diff --git a/drivers/include/tmp006.h b/drivers/include/tmp006.h index 5fbc68a0d5..f4afb34525 100644 --- a/drivers/include/tmp006.h +++ b/drivers/include/tmp006.h @@ -205,5 +205,5 @@ void tmp006_convert(int16_t rawv, int16_t rawt, float *tamb, float *tobj); } #endif -#endif +#endif /* TMP006_H */ /** @} */ diff --git a/drivers/include/tsl2561.h b/drivers/include/tsl2561.h index a78c98750c..20b1ea5517 100644 --- a/drivers/include/tsl2561.h +++ b/drivers/include/tsl2561.h @@ -18,8 +18,8 @@ * @author Alexandre Abadie */ -#ifndef TSL2561_H_ -#define TSL2561_H_ +#ifndef TSL2561_H +#define TSL2561_H #include "saul.h" #include "periph/i2c.h" @@ -109,5 +109,5 @@ uint16_t tsl2561_read_illuminance(tsl2561_t *dev); } #endif -#endif /* TSL2561_H_ */ +#endif /* TSL2561_H */ /** @} */ diff --git a/drivers/include/w5100.h b/drivers/include/w5100.h index 321d218e94..361bd2f048 100644 --- a/drivers/include/w5100.h +++ b/drivers/include/w5100.h @@ -81,5 +81,5 @@ void w5100_setup(w5100_t *dev, const w5100_params_t *params); } #endif -#endif /* W5100_h */ +#endif /* W5100_H */ /* @} */ diff --git a/drivers/kw2xrf/include/kw2xrf_reg.h b/drivers/kw2xrf/include/kw2xrf_reg.h index 7ef7eca59d..97a10ae350 100644 --- a/drivers/kw2xrf/include/kw2xrf_reg.h +++ b/drivers/kw2xrf/include/kw2xrf_reg.h @@ -50,8 +50,8 @@ * @author Johann Fischer */ -#ifndef MKW2XD_MODEM_REG_H -#define MKW2XD_MODEM_REG_H +#ifndef KW2XRF_REG_H +#define KW2XRF_REG_H #ifdef __cplusplus extern "C" { @@ -564,5 +564,5 @@ enum mkw2xdrf_iregister { } #endif -#endif /* MKW2XD_MODEM_REG_H */ +#endif /* KW2XRF_REG_H */ /** @} */ diff --git a/drivers/kw2xrf/include/overwrites.h b/drivers/kw2xrf/include/overwrites.h index d5480bb9d6..817ed8e095 100644 --- a/drivers/kw2xrf/include/overwrites.h +++ b/drivers/kw2xrf/include/overwrites.h @@ -31,8 +31,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef OVERWRITES_H_ -#define OVERWRITES_H_ +#ifndef OVERWRITES_H +#define OVERWRITES_H #ifdef __cplusplus extern "C" { @@ -311,4 +311,4 @@ end of deprecated versions */ #ifdef __cplusplus } #endif -#endif //OVERWRITES_H_ +#endif /* OVERWRITES_H */ diff --git a/drivers/lsm6dsl/include/lsm6dsl_internal.h b/drivers/lsm6dsl/include/lsm6dsl_internal.h index f11c4e3c59..7d112db207 100644 --- a/drivers/lsm6dsl/include/lsm6dsl_internal.h +++ b/drivers/lsm6dsl/include/lsm6dsl_internal.h @@ -153,5 +153,5 @@ extern "C" { } #endif -#endif /* LSM6DS_LINTERNAL_H */ +#endif /* LSM6DSL_INTERNAL_H */ /** @} */ diff --git a/drivers/mag3110/include/mag3110_reg.h b/drivers/mag3110/include/mag3110_reg.h index 81311aa3c4..6e74e7dbfa 100644 --- a/drivers/mag3110/include/mag3110_reg.h +++ b/drivers/mag3110/include/mag3110_reg.h @@ -76,5 +76,5 @@ extern "C" } #endif -#endif +#endif /* MAG3110_REG_H */ /** @} */ diff --git a/drivers/mma8x5x/include/mma8x5x_regs.h b/drivers/mma8x5x/include/mma8x5x_regs.h index fdcdfb0799..30d4bd2f24 100644 --- a/drivers/mma8x5x/include/mma8x5x_regs.h +++ b/drivers/mma8x5x/include/mma8x5x_regs.h @@ -20,8 +20,8 @@ * */ -#ifndef MMA8X5X_REG_H -#define MMA8X5X_REG_H +#ifndef MMA8X5X_REGS_H +#define MMA8X5X_REGS_H #ifdef __cplusplus extern "C" @@ -258,5 +258,5 @@ extern "C" } #endif -#endif +#endif /* MMA8X5X_REGS_H */ /** @} */ diff --git a/drivers/mpl3115a2/include/mpl3115a2_reg.h b/drivers/mpl3115a2/include/mpl3115a2_reg.h index d9a77106a7..b7470e1420 100644 --- a/drivers/mpl3115a2/include/mpl3115a2_reg.h +++ b/drivers/mpl3115a2/include/mpl3115a2_reg.h @@ -130,5 +130,5 @@ extern "C" } #endif -#endif +#endif /* MPL3115A2_REG_H */ /** @} */ diff --git a/drivers/pcd8544/include/pcd8544_internal.h b/drivers/pcd8544/include/pcd8544_internal.h index 719639e511..eaf60bb766 100644 --- a/drivers/pcd8544/include/pcd8544_internal.h +++ b/drivers/pcd8544/include/pcd8544_internal.h @@ -17,8 +17,8 @@ * @author Hauke Petersen */ -#ifndef PDC8544_INTERNAL_H -#define PDC8544_INTERNAL_H +#ifndef PCD8544_INTERNAL_H +#define PCD8544_INTERNAL_H #ifdef __cplusplus extern "C" { @@ -72,5 +72,5 @@ } #endif -#endif /* PDC8544_INTERNAL_H */ +#endif /* PCD8544_INTERNAL_H */ /** @} */ diff --git a/drivers/tcs37727/include/tcs37727-internal.h b/drivers/tcs37727/include/tcs37727-internal.h index 5950f774ac..54f3f940e3 100644 --- a/drivers/tcs37727/include/tcs37727-internal.h +++ b/drivers/tcs37727/include/tcs37727-internal.h @@ -131,5 +131,5 @@ extern "C" } #endif -#endif +#endif /* TCS37727_INTERNAL_H */ /** @} */ diff --git a/drivers/tsl2561/include/tsl2561_internals.h b/drivers/tsl2561/include/tsl2561_internals.h index 6d0e1932cd..01c4dbde64 100644 --- a/drivers/tsl2561/include/tsl2561_internals.h +++ b/drivers/tsl2561/include/tsl2561_internals.h @@ -17,8 +17,8 @@ * @author Alexandre Abadie */ -#ifndef TSL2561_REGS_H_ -#define TSL2561_REGS_H_ +#ifndef TSL2561_INTERNALS_H +#define TSL2561_INTERNALS_H #ifdef __cplusplus extern "C" { @@ -104,5 +104,5 @@ extern "C" { } #endif -#endif /* TSL2561_REGS_H_ */ +#endif /* TSL2561_INTERNALS_H */ /** @} */ diff --git a/drivers/tsl2561/include/tsl2561_params.h b/drivers/tsl2561/include/tsl2561_params.h index 7fc4ae2339..2bdf8717c7 100644 --- a/drivers/tsl2561/include/tsl2561_params.h +++ b/drivers/tsl2561/include/tsl2561_params.h @@ -75,5 +75,5 @@ saul_reg_info_t tsl2561_saul_reg_info[] = } #endif -#endif // TSL2561_PARAMS_H +#endif /* TSL2561_PARAMS_H */ /** @} */ diff --git a/drivers/uart_half_duplex/include/uart_half_duplex.h b/drivers/uart_half_duplex/include/uart_half_duplex.h index 3b791d345b..e3e0fcef04 100644 --- a/drivers/uart_half_duplex/include/uart_half_duplex.h +++ b/drivers/uart_half_duplex/include/uart_half_duplex.h @@ -140,5 +140,5 @@ size_t uart_half_duplex_recv(uart_half_duplex_t *dev, size_t size); } #endif -#endif +#endif /* UART_HALF_DUPLEX_H */ /** @} */ diff --git a/pkg/emb6/include/board_conf.h b/pkg/emb6/include/board_conf.h index 4cd41308e4..884c1a66ed 100644 --- a/pkg/emb6/include/board_conf.h +++ b/pkg/emb6/include/board_conf.h @@ -18,8 +18,8 @@ * @author Martine Lenders */ -#ifndef EMB6_BOARD_CONF_H -#define EMB6_BOARD_CONF_H +#ifndef BOARD_CONF_H +#define BOARD_CONF_H #ifdef __cplusplus extern "C" { @@ -41,6 +41,6 @@ uint8_t board_conf(s_ns_t *ps_nStack); } #endif -#endif /* EMB6_BOARD_CONF_H */ +#endif /* BOARD_CONF_H */ /** @} */ /** @} */ diff --git a/pkg/emb6/include/sock_types.h b/pkg/emb6/include/sock_types.h index 6ce812b6c4..f81f70b4da 100644 --- a/pkg/emb6/include/sock_types.h +++ b/pkg/emb6/include/sock_types.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef SOCK_TYPES_H_ -#define SOCK_TYPES_H_ +#ifndef SOCK_TYPES_H +#define SOCK_TYPES_H #include @@ -62,5 +62,5 @@ struct sock_udp { } #endif -#endif /* SOCK_TYPES_H_ */ +#endif /* SOCK_TYPES_H */ /** @} */ diff --git a/pkg/lwip/include/arch/cc.h b/pkg/lwip/include/arch/cc.h index d4a943684b..d31d7d8f71 100644 --- a/pkg/lwip/include/arch/cc.h +++ b/pkg/lwip/include/arch/cc.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef LWIP_ARCH_CC_H -#define LWIP_ARCH_CC_H +#ifndef ARCH_CC_H +#define ARCH_CC_H #include #include @@ -111,5 +111,5 @@ extern "C" { } #endif -#endif /* LWIP_ARCH_CC_H */ +#endif /* ARCH_CC_H */ /** @} */ diff --git a/pkg/lwip/include/arch/sys_arch.h b/pkg/lwip/include/arch/sys_arch.h index 27c6f8192d..aad33a1b75 100644 --- a/pkg/lwip/include/arch/sys_arch.h +++ b/pkg/lwip/include/arch/sys_arch.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef LWIP_ARCH_SYS_ARCH_H -#define LWIP_ARCH_SYS_ARCH_H +#ifndef ARCH_SYS_ARCH_H +#define ARCH_SYS_ARCH_H #include #include @@ -84,5 +84,5 @@ static inline void sys_mbox_set_invalid(sys_mbox_t *mbox) } #endif -#endif /* LWIP_ARCH_SYS_ARCH_H */ +#endif /* ARCH_SYS_ARCH_H */ /** @} */ diff --git a/pkg/lwip/include/lwip/netif/netdev.h b/pkg/lwip/include/lwip/netif/netdev.h index 29cc028a2b..c3b1ec77cf 100644 --- a/pkg/lwip/include/lwip/netif/netdev.h +++ b/pkg/lwip/include/lwip/netif/netdev.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef LWIP_NETDEV_H -#define LWIP_NETDEV_H +#ifndef LWIP_NETIF_NETDEV_H +#define LWIP_NETIF_NETDEV_H #include "net/ethernet.h" #include "net/netdev.h" @@ -58,5 +58,5 @@ err_t lwip_netdev_init(struct netif *netif); } #endif -#endif /* LWIP_NETDEV_H */ +#endif /* LWIP_NETIF_NETDEV_H */ /** @} */ diff --git a/pkg/lwip/include/lwip/sock_internal.h b/pkg/lwip/include/lwip/sock_internal.h index f47d39f0c1..68eca56794 100644 --- a/pkg/lwip/include/lwip/sock_internal.h +++ b/pkg/lwip/include/lwip/sock_internal.h @@ -18,8 +18,8 @@ * * @author Martine Lenders */ -#ifndef SOCK_INTERNAL_H -#define SOCK_INTERNAL_H +#ifndef LWIP_SOCK_INTERNAL_H +#define LWIP_SOCK_INTERNAL_H #include #include @@ -65,5 +65,5 @@ ssize_t lwip_sock_send(struct netconn **conn, const void *data, size_t len, } #endif -#endif /* SOCK_INTERNAL_H */ +#endif /* LWIP_SOCK_INTERNAL_H */ /** @} */ diff --git a/pkg/lwip/include/lwipopts.h b/pkg/lwip/include/lwipopts.h index c6632eec01..0fcfc7c8a7 100644 --- a/pkg/lwip/include/lwipopts.h +++ b/pkg/lwip/include/lwipopts.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef LWIP_LWIPOPTS_H -#define LWIP_LWIPOPTS_H +#ifndef LWIPOPTS_H +#define LWIPOPTS_H #include "thread.h" #include "net/gnrc/netif/hdr.h" @@ -155,5 +155,5 @@ extern "C" { } #endif -#endif /* LWIP_LWIPOPTS_H */ +#endif /* LWIPOPTS_H */ /** @} */ diff --git a/pkg/nordic_softdevice_ble/src/ble-core.h b/pkg/nordic_softdevice_ble/src/ble-core.h index 764f88eaeb..05b43c68f7 100644 --- a/pkg/nordic_softdevice_ble/src/ble-core.h +++ b/pkg/nordic_softdevice_ble/src/ble-core.h @@ -43,8 +43,8 @@ * * @author Wojciech Bober */ -#ifndef DEV_BLE_H -#define DEV_BLE_H +#ifndef BLE_CORE_H +#define BLE_CORE_H #include @@ -80,7 +80,7 @@ void ble_get_mac(uint8_t addr[8]); } #endif -#endif /* DEV_BLE_H */ +#endif /* BLE_CORE_H */ /** * @} diff --git a/pkg/spiffs/include/spiffs_config.h b/pkg/spiffs/include/spiffs_config.h index 9909e85d43..892b271df2 100644 --- a/pkg/spiffs/include/spiffs_config.h +++ b/pkg/spiffs/include/spiffs_config.h @@ -28,8 +28,8 @@ * Author: petera */ -#ifndef SPIFFS_CONFIG_H_ -#define SPIFFS_CONFIG_H_ +#ifndef SPIFFS_CONFIG_H +#define SPIFFS_CONFIG_H #ifdef __cplusplus extern "C" { @@ -298,4 +298,4 @@ typedef int16_t s16_t; } #endif -#endif /* SPIFFS_CONFIG_H_ */ +#endif /* SPIFFS_CONFIG_H */ diff --git a/sys/embunit/ColorTextColors.h b/sys/embunit/ColorTextColors.h index a6878b49cb..f615a9982a 100644 --- a/sys/embunit/ColorTextColors.h +++ b/sys/embunit/ColorTextColors.h @@ -13,8 +13,8 @@ * * @author Janos Kutscherauer */ -#ifndef EMBUNIT_COLORTEXTCOLORS_H -#define EMBUNIT_COLORTEXTCOLORS_H +#ifndef COLORTEXTCOLORS_H +#define COLORTEXTCOLORS_H #ifdef __cplusplus extern "C" { @@ -53,5 +53,5 @@ extern "C" { } #endif -#endif/* EMBUNIT_COLORTEXTCOLORS_H */ +#endif /* COLORTEXTCOLORS_H */ /** @} */ diff --git a/sys/include/base64.h b/sys/include/base64.h index c545cfab5b..46f332a321 100644 --- a/sys/include/base64.h +++ b/sys/include/base64.h @@ -17,8 +17,8 @@ * @author Martin Landsmann */ -#ifndef BASE64_ENCODER_DECODER_H -#define BASE64_ENCODER_DECODER_H +#ifndef BASE64_H +#define BASE64_H #include /* for size_t */ @@ -79,4 +79,4 @@ int base64_decode(unsigned char *base64_in, size_t base64_in_size, \ #endif /** @} */ -#endif /* BASE64_ENCODER_DECODER_H */ +#endif /* BASE64_H */ diff --git a/sys/include/bloom.h b/sys/include/bloom.h index d669cbb49a..3b2c841153 100644 --- a/sys/include/bloom.h +++ b/sys/include/bloom.h @@ -120,8 +120,8 @@ * @author Christian Mehlis */ -#ifndef _BLOOM_FILTER_H -#define _BLOOM_FILTER_H +#ifndef BLOOM_H +#define BLOOM_H #include #include @@ -233,4 +233,4 @@ bool bloom_check(bloom_t *bloom, const uint8_t *buf, size_t len); #endif /** @} */ -#endif /* _BLOOM_FILTER_H */ +#endif /* BLOOM_H */ diff --git a/sys/include/cbor.h b/sys/include/cbor.h index c7d85c0635..0acfffacef 100644 --- a/sys/include/cbor.h +++ b/sys/include/cbor.h @@ -706,6 +706,6 @@ bool cbor_at_end(const cbor_stream_t *stream, size_t offset); } #endif -#endif +#endif /* CBOR_H */ /** @} */ diff --git a/sys/include/checksum/crc16_ccitt.h b/sys/include/checksum/crc16_ccitt.h index a6d198f465..5d6279ea7d 100644 --- a/sys/include/checksum/crc16_ccitt.h +++ b/sys/include/checksum/crc16_ccitt.h @@ -27,8 +27,8 @@ * @author Ludwig Knüpfer */ -#ifndef CRC16_CCITT_H -#define CRC16_CCITT_H +#ifndef CHECKSUM_CRC16_CCITT_H +#define CHECKSUM_CRC16_CCITT_H #include #include @@ -66,6 +66,6 @@ uint16_t crc16_ccitt_calc(const unsigned char *buf, size_t len); } #endif -#endif /* CRC16_CCITT_H */ +#endif /* CHECKSUM_CRC16_CCITT_H */ /** @} */ diff --git a/sys/include/checksum/fletcher16.h b/sys/include/checksum/fletcher16.h index 234b47db72..fc8b8e1ea0 100644 --- a/sys/include/checksum/fletcher16.h +++ b/sys/include/checksum/fletcher16.h @@ -17,8 +17,8 @@ * @author Joakim Nohlgård */ -#ifndef FLETCHER16_H -#define FLETCHER16_H +#ifndef CHECKSUM_FLETCHER16_H +#define CHECKSUM_FLETCHER16_H #include #include @@ -46,6 +46,6 @@ uint16_t fletcher16(const uint8_t *buf, size_t bytes); } #endif -#endif /* FLETCHER16_H */ +#endif /* CHECKSUM_FLETCHER16_H */ /** @} */ diff --git a/sys/include/checksum/fletcher32.h b/sys/include/checksum/fletcher32.h index 67d000d4ff..8f23851e97 100644 --- a/sys/include/checksum/fletcher32.h +++ b/sys/include/checksum/fletcher32.h @@ -17,8 +17,8 @@ * @author Joakim Nohlgård */ -#ifndef FLETCHER32_H -#define FLETCHER32_H +#ifndef CHECKSUM_FLETCHER32_H +#define CHECKSUM_FLETCHER32_H #include #include @@ -47,6 +47,6 @@ uint32_t fletcher32(const uint16_t *buf, size_t words); } #endif -#endif /* FLETCHER32_H */ +#endif /* CHECKSUM_FLETCHER32_H */ /** @} */ diff --git a/sys/include/checksum/ucrc16.h b/sys/include/checksum/ucrc16.h index 60c2db524d..67e7d3e4fa 100644 --- a/sys/include/checksum/ucrc16.h +++ b/sys/include/checksum/ucrc16.h @@ -26,8 +26,8 @@ * * @author Martine Lenders */ -#ifndef UCRC16_H -#define UCRC16_H +#ifndef CHECKSUM_UCRC16_H +#define CHECKSUM_UCRC16_H #include #include @@ -78,5 +78,5 @@ uint16_t ucrc16_calc_le(const uint8_t *buf, size_t len, uint16_t poly, } #endif -#endif /* UCRC16_H */ +#endif /* CHECKSUM_UCRC16_H */ /** @} */ diff --git a/sys/include/crypto/aes.h b/sys/include/crypto/aes.h index 9ce7d07fba..0a1b9b820f 100644 --- a/sys/include/crypto/aes.h +++ b/sys/include/crypto/aes.h @@ -19,8 +19,8 @@ * @author Zakaria Kasmi */ -#ifndef AES_H -#define AES_H +#ifndef CRYPTO_AES_H +#define CRYPTO_AES_H #include #include @@ -128,4 +128,4 @@ int aes_decrypt(const cipher_context_t *context, const uint8_t *cipher_block, #endif /** @} */ -#endif /* AES_H */ +#endif /* CRYPTO_AES_H */ diff --git a/sys/include/crypto/chacha.h b/sys/include/crypto/chacha.h index 120e91171c..5e01aa6339 100644 --- a/sys/include/crypto/chacha.h +++ b/sys/include/crypto/chacha.h @@ -137,7 +137,7 @@ uint32_t chacha_prng_next(void); } #endif -#endif /* ifndef CRYPTO_CHACHA_H */ +#endif /* CRYPTO_CHACHA_H */ /** * @} diff --git a/sys/include/crypto/helper.h b/sys/include/crypto/helper.h index 054a82d08f..7744dc981d 100644 --- a/sys/include/crypto/helper.h +++ b/sys/include/crypto/helper.h @@ -17,8 +17,8 @@ * @author Nico von Geyso */ -#ifndef CRYPTO_MODES_HELPER_H -#define CRYPTO_MODES_HELPER_H +#ifndef CRYPTO_HELPER_H +#define CRYPTO_HELPER_H #include #include @@ -53,4 +53,4 @@ int crypto_equals(uint8_t *a, uint8_t *b, size_t len); } #endif -#endif /* CRYPTO_MODES_HELPER_H */ +#endif /* CRYPTO_HELPER_H */ diff --git a/sys/include/ecc/hamming256.h b/sys/include/ecc/hamming256.h index 5c2cc98918..4852505396 100644 --- a/sys/include/ecc/hamming256.h +++ b/sys/include/ecc/hamming256.h @@ -15,8 +15,8 @@ * @author Lucas Jenß */ -#ifndef _HAMMING256_H -#define _HAMMING256_H +#ifndef ECC_HAMMING256_H +#define ECC_HAMMING256_H #include @@ -68,5 +68,5 @@ uint8_t hamming_verify256x( uint8_t *data, uint32_t size, const uint8_t *code ); } #endif -#endif +#endif /* ECC_HAMMING256_H */ /** @} */ diff --git a/sys/include/embUnit.h b/sys/include/embUnit.h index 22052d2a84..6bc1cbc3c9 100644 --- a/sys/include/embUnit.h +++ b/sys/include/embUnit.h @@ -16,8 +16,8 @@ * @author Martine Lenders */ -#ifndef SYS_EMB_UNIT_H -#define SYS_EMB_UNIT_H +#ifndef EMBUNIT_H +#define EMBUNIT_H #include "embUnit/embUnit.h" @@ -64,4 +64,4 @@ extern "C" { } #endif -#endif /* SYS_EMB_UNIT_H */ +#endif /* EMBUNIT_H */ diff --git a/sys/include/embUnit/AssertImpl.h b/sys/include/embUnit/AssertImpl.h index 5ce4f45c79..cf7e4951cf 100644 --- a/sys/include/embUnit/AssertImpl.h +++ b/sys/include/embUnit/AssertImpl.h @@ -100,4 +100,4 @@ void assertImplementationCStr(const char *expected,const char *actual, long line } #endif -#endif/* EMBUNIT_ASSERTIMPL_H */ +#endif /* EMBUNIT_ASSERTIMPL_H */ diff --git a/sys/include/embUnit/ColorOutputter.h b/sys/include/embUnit/ColorOutputter.h index e2aaadd159..1f40fa5468 100644 --- a/sys/include/embUnit/ColorOutputter.h +++ b/sys/include/embUnit/ColorOutputter.h @@ -41,5 +41,5 @@ void ColorOutputter_printStatistics(OutputterRef self, TestResultRef result); } #endif -#endif/* EMBUNIT_COLOROUTPUTTER_H */ +#endif /* EMBUNIT_COLOROUTPUTTER_H */ /** @} */ diff --git a/sys/include/embUnit/ColorTextOutputter.h b/sys/include/embUnit/ColorTextOutputter.h index 9aebdc83cb..8df9868131 100644 --- a/sys/include/embUnit/ColorTextOutputter.h +++ b/sys/include/embUnit/ColorTextOutputter.h @@ -26,5 +26,5 @@ OutputterRef ColorTextOutputter_outputter(void); } #endif -#endif/* EMBUNIT_COLORTEXTOUTPUTTER_H */ +#endif /* EMBUNIT_COLORTEXTOUTPUTTER_H */ /** @} */ diff --git a/sys/include/embUnit/CompilerOutputter.h b/sys/include/embUnit/CompilerOutputter.h index 95612d176d..49b4fb8a83 100644 --- a/sys/include/embUnit/CompilerOutputter.h +++ b/sys/include/embUnit/CompilerOutputter.h @@ -47,4 +47,4 @@ OutputterRef CompilerOutputter_outputter(void); } #endif -#endif/* EMBUNIT_COMPILEROUTPUTTER_H */ +#endif /* EMBUNIT_COMPILEROUTPUTTER_H */ diff --git a/sys/include/embUnit/HelperMacro.h b/sys/include/embUnit/HelperMacro.h index 5e0a5333c2..448997d50f 100644 --- a/sys/include/embUnit/HelperMacro.h +++ b/sys/include/embUnit/HelperMacro.h @@ -64,4 +64,4 @@ extern "C" { } #endif -#endif/* EMBUNIT_HELPERMACRO_H */ +#endif /* EMBUNIT_HELPERMACRO_H */ diff --git a/sys/include/embUnit/Outputter.h b/sys/include/embUnit/Outputter.h index 972e7f770d..6ea9048c02 100644 --- a/sys/include/embUnit/Outputter.h +++ b/sys/include/embUnit/Outputter.h @@ -79,4 +79,4 @@ struct __Outputter { } #endif -#endif/* EMBUNIT_OUTPUTTER_H */ +#endif /* EMBUNIT_OUTPUTTER_H */ diff --git a/sys/include/embUnit/RepeatedTest.h b/sys/include/embUnit/RepeatedTest.h index 345ff2e00b..a2fa7ccf2a 100644 --- a/sys/include/embUnit/RepeatedTest.h +++ b/sys/include/embUnit/RepeatedTest.h @@ -61,4 +61,4 @@ extern const TestImplement RepeatedTestImplement; } #endif -#endif/* EMBUNIT_REPEATEDTEST_H */ +#endif /* EMBUNIT_REPEATEDTEST_H */ diff --git a/sys/include/embUnit/Test.h b/sys/include/embUnit/Test.h index 8475464b5c..20a512dd8d 100644 --- a/sys/include/embUnit/Test.h +++ b/sys/include/embUnit/Test.h @@ -70,4 +70,4 @@ struct __Test { } #endif -#endif/* EMBUNIT_TEST_H */ +#endif /* EMBUNIT_TEST_H */ diff --git a/sys/include/embUnit/TestCaller.h b/sys/include/embUnit/TestCaller.h index bc103d17f4..0b99cd900f 100644 --- a/sys/include/embUnit/TestCaller.h +++ b/sys/include/embUnit/TestCaller.h @@ -77,4 +77,4 @@ extern const TestImplement TestCallerImplement; } #endif -#endif/* EMBUNIT_TESTCALLER_H */ +#endif /* EMBUNIT_TESTCALLER_H */ diff --git a/sys/include/embUnit/TestCase.h b/sys/include/embUnit/TestCase.h index be98e99a4e..60e878012e 100644 --- a/sys/include/embUnit/TestCase.h +++ b/sys/include/embUnit/TestCase.h @@ -65,4 +65,4 @@ extern const TestImplement TestCaseImplement; } #endif -#endif/* EMBUNIT_TESTCASE_H */ +#endif /* EMBUNIT_TESTCASE_H */ diff --git a/sys/include/embUnit/TestListener.h b/sys/include/embUnit/TestListener.h index ffb0fda448..e8a49d7bc1 100644 --- a/sys/include/embUnit/TestListener.h +++ b/sys/include/embUnit/TestListener.h @@ -67,4 +67,4 @@ struct __TestListner { } #endif -#endif/* EMBUNIT_TESTLISTENER_H */ +#endif /* EMBUNIT_TESTLISTENER_H */ diff --git a/sys/include/embUnit/TestResult.h b/sys/include/embUnit/TestResult.h index 6d7167f60f..06f1f932ce 100644 --- a/sys/include/embUnit/TestResult.h +++ b/sys/include/embUnit/TestResult.h @@ -67,4 +67,4 @@ void TestResult_addFailure(TestResult* self,Test* test,const char* msg,int line, } #endif -#endif/* EMBUNIT_TESTRESULT_H */ +#endif /* EMBUNIT_TESTRESULT_H */ diff --git a/sys/include/embUnit/TestRunner.h b/sys/include/embUnit/TestRunner.h index dfab0a461b..ba8b44a107 100644 --- a/sys/include/embUnit/TestRunner.h +++ b/sys/include/embUnit/TestRunner.h @@ -49,4 +49,4 @@ extern int TestRunnerHadErrors; } #endif -#endif/* EMBUNIT_TESTRUNNER_H */ +#endif /* EMBUNIT_TESTRUNNER_H */ diff --git a/sys/include/embUnit/TestSuite.h b/sys/include/embUnit/TestSuite.h index 2fc378d64d..b88cebcf64 100644 --- a/sys/include/embUnit/TestSuite.h +++ b/sys/include/embUnit/TestSuite.h @@ -63,4 +63,4 @@ extern const TestImplement TestSuiteImplement; } #endif -#endif/* EMBUNIT_TESTSUITE_H */ +#endif /* EMBUNIT_TESTSUITE_H */ diff --git a/sys/include/embUnit/TextOutputter.h b/sys/include/embUnit/TextOutputter.h index 89a42aa7d7..29d6ad2ac3 100644 --- a/sys/include/embUnit/TextOutputter.h +++ b/sys/include/embUnit/TextOutputter.h @@ -47,4 +47,4 @@ OutputterRef TextOutputter_outputter(void); } #endif -#endif/* EMBUNIT_TEXTOUTPUTTER_H */ +#endif /* EMBUNIT_TEXTOUTPUTTER_H */ diff --git a/sys/include/embUnit/TextUIRunner.h b/sys/include/embUnit/TextUIRunner.h index ea711baac9..75892baa11 100644 --- a/sys/include/embUnit/TextUIRunner.h +++ b/sys/include/embUnit/TextUIRunner.h @@ -53,4 +53,4 @@ void TextUIRunner_end(void); } #endif -#endif/* EMBUNIT_TEXTUIRUNNER_H */ +#endif /* EMBUNIT_TEXTUIRUNNER_H */ diff --git a/sys/include/embUnit/XMLOutputter.h b/sys/include/embUnit/XMLOutputter.h index af9077c5b1..31497f8eab 100644 --- a/sys/include/embUnit/XMLOutputter.h +++ b/sys/include/embUnit/XMLOutputter.h @@ -48,4 +48,4 @@ OutputterRef XMLOutputter_outputter(void); } #endif -#endif/* EMBUNIT_XMLOUTPUTTER_H */ +#endif /* EMBUNIT_XMLOUTPUTTER_H */ diff --git a/sys/include/embUnit/embUnit.h b/sys/include/embUnit/embUnit.h index 212da419d5..f00d673792 100644 --- a/sys/include/embUnit/embUnit.h +++ b/sys/include/embUnit/embUnit.h @@ -55,4 +55,4 @@ extern "C" { } #endif -#endif/* EMBUNIT_EMBUNIT_H */ +#endif /* EMBUNIT_EMBUNIT_H */ diff --git a/sys/include/embUnit/embUnit_config.h b/sys/include/embUnit/embUnit_config.h index 85d6145b70..334e381360 100644 --- a/sys/include/embUnit/embUnit_config.h +++ b/sys/include/embUnit/embUnit_config.h @@ -32,8 +32,8 @@ * * $Id: config.h,v 1.7 2004/02/10 16:17:07 arms22 Exp $ */ -#ifndef EMBUNIT_CONFIG_H -#define EMBUNIT_CONFIG_H +#ifndef EMBUNIT_EMBUNIT_CONFIG_H +#define EMBUNIT_EMBUNIT_CONFIG_H #ifdef __cplusplus extern "C" { @@ -53,4 +53,4 @@ extern "C" { } #endif -#endif/* EMBUNIT_CONFIG_H */ +#endif /* EMBUNIT_EMBUNIT_CONFIG_H */ diff --git a/sys/include/embUnit/stdImpl.h b/sys/include/embUnit/stdImpl.h index 88ee57b4f6..7ae60e55ac 100644 --- a/sys/include/embUnit/stdImpl.h +++ b/sys/include/embUnit/stdImpl.h @@ -59,4 +59,4 @@ static inline char* stdimpl_itoa(int v,char *string,int r) } #endif -#endif/* EMBUNIT_STDIMPL_H */ +#endif /* EMBUNIT_STDIMPL_H */ diff --git a/sys/include/fs/constfs.h b/sys/include/fs/constfs.h index 60fd6e1de0..4ed149f303 100644 --- a/sys/include/fs/constfs.h +++ b/sys/include/fs/constfs.h @@ -21,8 +21,8 @@ * @author Joakim Nohlgård */ -#ifndef CONSTFS_H_ -#define CONSTFS_H_ +#ifndef FS_CONSTFS_H +#define FS_CONSTFS_H #include #include @@ -61,6 +61,6 @@ extern const vfs_file_system_t constfs_file_system; } #endif -#endif +#endif /* FS_CONSTFS_H */ /** @} */ diff --git a/sys/include/fs/devfs.h b/sys/include/fs/devfs.h index 48f4460d9f..4bc08d5133 100644 --- a/sys/include/fs/devfs.h +++ b/sys/include/fs/devfs.h @@ -22,8 +22,8 @@ * @author Joakim Nohlgård */ -#ifndef DEVFS_H_ -#define DEVFS_H_ +#ifndef FS_DEVFS_H +#define FS_DEVFS_H #include "clist.h" #include "vfs.h" @@ -89,6 +89,6 @@ int devfs_unregister(devfs_t *node); } #endif -#endif +#endif /* FS_DEVFS_H */ /** @} */ diff --git a/sys/include/fs/spiffs_fs.h b/sys/include/fs/spiffs_fs.h index f2ab03aa29..c9e7d24187 100644 --- a/sys/include/fs/spiffs_fs.h +++ b/sys/include/fs/spiffs_fs.h @@ -17,8 +17,8 @@ * @author Vincent Dupont */ -#ifndef SPIFFS_FS_H -#define SPIFFS_FS_H +#ifndef FS_SPIFFS_FS_H +#define FS_SPIFFS_FS_H #ifdef __cplusplus extern "C" { @@ -81,6 +81,6 @@ extern const vfs_file_system_t spiffs_file_system; } #endif -#endif /* SPIFFS_FS_H */ +#endif /* FS_SPIFFS_FS_H */ /** @} */ diff --git a/sys/include/hashes/sha1.h b/sys/include/hashes/sha1.h index 362f6fefba..02ffd8dfb1 100644 --- a/sys/include/hashes/sha1.h +++ b/sys/include/hashes/sha1.h @@ -23,8 +23,8 @@ /* This code is public-domain - it is based on libcrypt * placed in the public domain by Wei Dai and other contributors. */ -#ifndef _SHA1_H -#define _SHA1_H +#ifndef HASHES_SHA1_H +#define HASHES_SHA1_H #include @@ -118,5 +118,5 @@ void sha1_final_hmac(sha1_context *ctx, void *digest); } #endif -#endif /* _SHA1_H */ +#endif /* HASHES_SHA1_H */ /** @} */ diff --git a/sys/include/hashes/sha256.h b/sys/include/hashes/sha256.h index 95b41a940a..0a288342a2 100644 --- a/sys/include/hashes/sha256.h +++ b/sys/include/hashes/sha256.h @@ -43,8 +43,8 @@ * @author Hermann Lelong */ -#ifndef _SHA256_H -#define _SHA256_H +#ifndef HASHES_SHA256_H +#define HASHES_SHA256_H #include @@ -240,4 +240,4 @@ int sha256_chain_verify_element(void *element, #endif /** @} */ -#endif /* _SHA256_H */ +#endif /* HASHES_SHA256_H */ diff --git a/sys/include/luid.h b/sys/include/luid.h index 974013f4d1..5ad2857bff 100644 --- a/sys/include/luid.h +++ b/sys/include/luid.h @@ -50,8 +50,8 @@ * @author Hauke Petersen */ -#ifndef LUID_H_ -#define LUID_H_ +#ifndef LUID_H +#define LUID_H #include @@ -115,5 +115,5 @@ void luid_base(void *buf, size_t len); } #endif -#endif /* LUID_H_ */ +#endif /* LUID_H */ /** @} */ diff --git a/sys/include/net/af.h b/sys/include/net/af.h index 3b462b60eb..1e4780ab33 100644 --- a/sys/include/net/af.h +++ b/sys/include/net/af.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef AF_H -#define AF_H +#ifndef NET_AF_H +#define NET_AF_H @@ -47,5 +47,5 @@ enum { } #endif -#endif /* AF_H */ +#endif /* NET_AF_H */ /** @} */ diff --git a/sys/include/net/csma_sender.h b/sys/include/net/csma_sender.h index 17ef5747ad..0928215f78 100644 --- a/sys/include/net/csma_sender.h +++ b/sys/include/net/csma_sender.h @@ -22,8 +22,8 @@ * @author Martine Lenders */ -#ifndef CSMA_SENDER_H -#define CSMA_SENDER_H +#ifndef NET_CSMA_SENDER_H +#define NET_CSMA_SENDER_H #include @@ -140,6 +140,6 @@ int csma_sender_cca_send(netdev_t *dev, struct iovec *vector, unsigned count); } #endif -#endif /* CSMA_SENDER_H */ +#endif /* NET_CSMA_SENDER_H */ /** @} */ diff --git a/sys/include/net/emcute.h b/sys/include/net/emcute.h index b9affca636..b0c1eb9762 100644 --- a/sys/include/net/emcute.h +++ b/sys/include/net/emcute.h @@ -82,8 +82,8 @@ * @author Hauke Petersen */ -#ifndef MQTTSN_H -#define MQTTSN_H +#ifndef NET_EMCUTE_H +#define NET_EMCUTE_H #include #include @@ -377,5 +377,5 @@ const char *emcute_type_str(uint8_t type); } #endif -#endif /* MQTTSN_H */ +#endif /* NET_EMCUTE_H */ /** @} */ diff --git a/sys/include/net/ethernet.h b/sys/include/net/ethernet.h index a7dde2f642..93c2198b18 100644 --- a/sys/include/net/ethernet.h +++ b/sys/include/net/ethernet.h @@ -19,8 +19,8 @@ */ -#ifndef ETHERNET_H -#define ETHERNET_H +#ifndef NET_ETHERNET_H +#define NET_ETHERNET_H #include @@ -74,7 +74,7 @@ static inline void ethernet_get_iid(eui64_t *eui64, uint8_t *mac) } #endif -#endif /* ETHERNET_H */ +#endif /* NET_ETHERNET_H */ /** * @} */ diff --git a/sys/include/net/ethernet/hdr.h b/sys/include/net/ethernet/hdr.h index f0716643d3..2742124ffe 100644 --- a/sys/include/net/ethernet/hdr.h +++ b/sys/include/net/ethernet/hdr.h @@ -19,8 +19,8 @@ */ -#ifndef ETHERNET_HDR_H -#define ETHERNET_HDR_H +#ifndef NET_ETHERNET_HDR_H +#define NET_ETHERNET_HDR_H #include @@ -51,7 +51,7 @@ typedef struct __attribute__((packed)) { } #endif -#endif /* ETHERNET_HDR_H */ +#endif /* NET_ETHERNET_HDR_H */ /** * @} */ diff --git a/sys/include/net/ethertype.h b/sys/include/net/ethertype.h index 297c48a504..457ec45cb1 100644 --- a/sys/include/net/ethertype.h +++ b/sys/include/net/ethertype.h @@ -23,8 +23,8 @@ */ -#ifndef ETHERTYPE_H -#define ETHERTYPE_H +#ifndef NET_ETHERTYPE_H +#define NET_ETHERTYPE_H #ifdef __cplusplus extern "C" { @@ -42,7 +42,7 @@ extern "C" { } #endif -#endif /* ETHERTYPE_H */ +#endif /* NET_ETHERTYPE_H */ /** * @} */ diff --git a/sys/include/net/eui64.h b/sys/include/net/eui64.h index d4900b0301..a8fd090de5 100644 --- a/sys/include/net/eui64.h +++ b/sys/include/net/eui64.h @@ -21,8 +21,8 @@ * @author Martine Lenders * @author Oliver Hahm */ -#ifndef EUI64_H -#define EUI64_H +#ifndef NET_EUI64_H +#define NET_EUI64_H #include #include "byteorder.h" @@ -44,5 +44,5 @@ typedef union { } #endif -#endif /* EUI64_H */ +#endif /* NET_EUI64_H */ /** @} */ diff --git a/sys/include/net/fib.h b/sys/include/net/fib.h index 7d19002b9d..ef33af7fbc 100644 --- a/sys/include/net/fib.h +++ b/sys/include/net/fib.h @@ -22,8 +22,8 @@ * @author Oliver Hahm */ -#ifndef FIB_H -#define FIB_H +#ifndef NET_FIB_H +#define NET_FIB_H #include @@ -513,5 +513,5 @@ int fib_devel_get_lifetime(fib_table_t *table, uint64_t *lifetime, uint8_t *dst, } #endif -#endif /* FIB_H */ +#endif /* NET_FIB_H */ /** @} */ diff --git a/sys/include/net/fib/table.h b/sys/include/net/fib/table.h index 124c4724b8..3d14c773b2 100644 --- a/sys/include/net/fib/table.h +++ b/sys/include/net/fib/table.h @@ -16,8 +16,8 @@ * @author Martin Landsmann */ -#ifndef FIB_TABLE_H -#define FIB_TABLE_H +#ifndef NET_FIB_TABLE_H +#define NET_FIB_TABLE_H #include @@ -139,5 +139,5 @@ typedef struct { } #endif -#endif /* FIB_TABLE_H */ +#endif /* NET_FIB_TABLE_H */ /** @} */ diff --git a/sys/include/net/gcoap.h b/sys/include/net/gcoap.h index fc5b326048..5107db4b58 100644 --- a/sys/include/net/gcoap.h +++ b/sys/include/net/gcoap.h @@ -138,8 +138,8 @@ * @author Ken Bannister */ -#ifndef GCOAP_H -#define GCOAP_H +#ifndef NET_GCOAP_H +#define NET_GCOAP_H #include "net/sock/udp.h" #include "nanocoap.h" @@ -415,5 +415,5 @@ uint8_t gcoap_op_state(void); } #endif -#endif /* GCOAP_H */ +#endif /* NET_GCOAP_H */ /** @} */ diff --git a/sys/include/net/gnrc.h b/sys/include/net/gnrc.h index e35ec045bd..2d4e4467a7 100644 --- a/sys/include/net/gnrc.h +++ b/sys/include/net/gnrc.h @@ -280,8 +280,8 @@ * @author Hauke Petersen */ -#ifndef GNRC_NETBASE_H -#define GNRC_NETBASE_H +#ifndef NET_GNRC_H +#define NET_GNRC_H #include "net/netopt.h" #include "net/gnrc/netapi.h" @@ -302,5 +302,5 @@ extern "C" { } #endif -#endif /* GNRC_NETBASE_H */ +#endif /* NET_GNRC_H */ /** @} */ diff --git a/sys/include/net/gnrc/icmpv6.h b/sys/include/net/gnrc/icmpv6.h index deccdb4d81..24c63e72a7 100644 --- a/sys/include/net/gnrc/icmpv6.h +++ b/sys/include/net/gnrc/icmpv6.h @@ -24,8 +24,8 @@ * @todo build error messages */ -#ifndef GNRC_ICMPV6_H -#define GNRC_ICMPV6_H +#ifndef NET_GNRC_ICMPV6_H +#define NET_GNRC_ICMPV6_H #include "kernel_types.h" #include "net/icmpv6.h" @@ -79,7 +79,7 @@ int gnrc_icmpv6_calc_csum(gnrc_pktsnip_t *hdr, gnrc_pktsnip_t *pseudo_hdr); } #endif -#endif /* GNRC_ICMPV6_H */ +#endif /* NET_GNRC_ICMPV6_H */ /** * @} */ diff --git a/sys/include/net/gnrc/icmpv6/echo.h b/sys/include/net/gnrc/icmpv6/echo.h index 9a3066adf2..98f95b650f 100644 --- a/sys/include/net/gnrc/icmpv6/echo.h +++ b/sys/include/net/gnrc/icmpv6/echo.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_ICMPV6_ECHO_H -#define GNRC_ICMPV6_ECHO_H +#ifndef NET_GNRC_ICMPV6_ECHO_H +#define NET_GNRC_ICMPV6_ECHO_H #include @@ -62,5 +62,5 @@ void gnrc_icmpv6_echo_req_handle(kernel_pid_t iface, ipv6_hdr_t *ipv6_hdr, } #endif -#endif /* GNRC_ICMPV6_ECHO_H */ +#endif /* NET_GNRC_ICMPV6_ECHO_H */ /** @} */ diff --git a/sys/include/net/gnrc/icmpv6/error.h b/sys/include/net/gnrc/icmpv6/error.h index f02e1a0afd..20d0343196 100644 --- a/sys/include/net/gnrc/icmpv6/error.h +++ b/sys/include/net/gnrc/icmpv6/error.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_ICMPV6_ERROR_H -#define GNRC_ICMPV6_ERROR_H +#ifndef NET_GNRC_ICMPV6_ERROR_H +#define NET_GNRC_ICMPV6_ERROR_H #include #include @@ -165,5 +165,5 @@ static inline void gnrc_icmpv6_error_param_prob_send(uint8_t code, void *ptr, } #endif -#endif /* GNRC_ICMPV6_ERROR_H */ +#endif /* NET_GNRC_ICMPV6_ERROR_H */ /** @} */ diff --git a/sys/include/net/gnrc/ipv6.h b/sys/include/net/gnrc/ipv6.h index 0e89d852f7..11841393b2 100644 --- a/sys/include/net/gnrc/ipv6.h +++ b/sys/include/net/gnrc/ipv6.h @@ -26,8 +26,8 @@ */ -#ifndef GNRC_IPV6_H -#define GNRC_IPV6_H +#ifndef NET_GNRC_IPV6_H +#define NET_GNRC_IPV6_H #include "kernel_types.h" #include "net/gnrc.h" @@ -170,7 +170,7 @@ ipv6_hdr_t *gnrc_ipv6_get_header(gnrc_pktsnip_t *pkt); } #endif -#endif /* GNRC_IPV6_H */ +#endif /* NET_GNRC_IPV6_H */ /** * @} */ diff --git a/sys/include/net/gnrc/ipv6/blacklist.h b/sys/include/net/gnrc/ipv6/blacklist.h index e536dc6e30..43a1a159bb 100644 --- a/sys/include/net/gnrc/ipv6/blacklist.h +++ b/sys/include/net/gnrc/ipv6/blacklist.h @@ -19,8 +19,8 @@ * @author Martine Lenders * @author Martin Landsmann */ -#ifndef GNRC_IPV6_BLACKLIST_H -#define GNRC_IPV6_BLACKLIST_H +#ifndef NET_GNRC_IPV6_BLACKLIST_H +#define NET_GNRC_IPV6_BLACKLIST_H #include @@ -75,5 +75,5 @@ void gnrc_ipv6_blacklist_print(void); } #endif -#endif /* GNRC_IPV6_BLACKLIST_H */ +#endif /* NET_GNRC_IPV6_BLACKLIST_H */ /** @} */ diff --git a/sys/include/net/gnrc/ipv6/ext.h b/sys/include/net/gnrc/ipv6/ext.h index 995dbe25b6..cf29bd5047 100644 --- a/sys/include/net/gnrc/ipv6/ext.h +++ b/sys/include/net/gnrc/ipv6/ext.h @@ -22,8 +22,8 @@ */ -#ifndef GNRC_IPV6_EXT_H -#define GNRC_IPV6_EXT_H +#ifndef NET_GNRC_IPV6_EXT_H +#define NET_GNRC_IPV6_EXT_H #include #include @@ -81,7 +81,7 @@ gnrc_pktsnip_t *gnrc_ipv6_ext_build(gnrc_pktsnip_t *ipv6, gnrc_pktsnip_t *next, } #endif -#endif /* GNRC_IPV6_EXT_H */ +#endif /* NET_GNRC_IPV6_EXT_H */ /** * @} */ diff --git a/sys/include/net/gnrc/ipv6/hdr.h b/sys/include/net/gnrc/ipv6/hdr.h index aab108d9d5..00aea45726 100644 --- a/sys/include/net/gnrc/ipv6/hdr.h +++ b/sys/include/net/gnrc/ipv6/hdr.h @@ -16,8 +16,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_IPV6_HDR_H -#define GNRC_IPV6_HDR_H +#ifndef NET_GNRC_IPV6_HDR_H +#define NET_GNRC_IPV6_HDR_H #include @@ -50,5 +50,5 @@ gnrc_pktsnip_t *gnrc_ipv6_hdr_build(gnrc_pktsnip_t *payload, const ipv6_addr_t * } #endif -#endif /* GNRC_IPV6_HDR_H */ +#endif /* NET_GNRC_IPV6_HDR_H */ /** @} */ diff --git a/sys/include/net/gnrc/ipv6/nc.h b/sys/include/net/gnrc/ipv6/nc.h index c197428c65..c233d90b94 100644 --- a/sys/include/net/gnrc/ipv6/nc.h +++ b/sys/include/net/gnrc/ipv6/nc.h @@ -18,8 +18,8 @@ * @author Martine Lenders */ -#ifndef GNRC_IPV6_NC_H -#define GNRC_IPV6_NC_H +#ifndef NET_GNRC_IPV6_NC_H +#define NET_GNRC_IPV6_NC_H #include #include @@ -313,7 +313,7 @@ kernel_pid_t gnrc_ipv6_nc_get_l2_addr(uint8_t *l2_addr, uint8_t *l2_addr_len, } #endif -#endif /* GNRC_IPV6_NC_H */ +#endif /* NET_GNRC_IPV6_NC_H */ /** * @} */ diff --git a/sys/include/net/gnrc/ipv6/netif.h b/sys/include/net/gnrc/ipv6/netif.h index 7e513dfa3d..bc1418ffd5 100644 --- a/sys/include/net/gnrc/ipv6/netif.h +++ b/sys/include/net/gnrc/ipv6/netif.h @@ -18,8 +18,8 @@ * @author Martine Lenders */ -#ifndef GNRC_IPV6_NETIF_H -#define GNRC_IPV6_NETIF_H +#ifndef NET_GNRC_IPV6_NETIF_H +#define NET_GNRC_IPV6_NETIF_H #include #include @@ -611,7 +611,7 @@ netstats_t *gnrc_ipv6_netif_get_stats(kernel_pid_t pid); } #endif -#endif /* NETIF_H */ +#endif /* NET_GNRC_IPV6_NETIF_H */ /** * @} */ diff --git a/sys/include/net/gnrc/ipv6/whitelist.h b/sys/include/net/gnrc/ipv6/whitelist.h index 9977dafc38..f67cc9deca 100644 --- a/sys/include/net/gnrc/ipv6/whitelist.h +++ b/sys/include/net/gnrc/ipv6/whitelist.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_IPV6_WHITELIST_H -#define GNRC_IPV6_WHITELIST_H +#ifndef NET_GNRC_IPV6_WHITELIST_H +#define NET_GNRC_IPV6_WHITELIST_H #include @@ -73,5 +73,5 @@ void gnrc_ipv6_whitelist_print(void); } #endif -#endif /* GNRC_IPV6_WHITELIST_H */ +#endif /* NET_GNRC_IPV6_WHITELIST_H */ /** @} */ diff --git a/sys/include/net/gnrc/mac/internal.h b/sys/include/net/gnrc/mac/internal.h index 912e9abc99..538300690d 100644 --- a/sys/include/net/gnrc/mac/internal.h +++ b/sys/include/net/gnrc/mac/internal.h @@ -18,8 +18,8 @@ * @author Shuguo Zhuo */ -#ifndef GNRC_MAC_INTERNAL_H -#define GNRC_MAC_INTERNAL_H +#ifndef NET_GNRC_MAC_INTERNAL_H +#define NET_GNRC_MAC_INTERNAL_H #include #include @@ -76,5 +76,5 @@ void gnrc_mac_dispatch(gnrc_mac_rx_t* rx); } #endif -#endif /* GNRC_MAC_INTERNAL_H */ +#endif /* NET_GNRC_MAC_INTERNAL_H */ /** @} */ diff --git a/sys/include/net/gnrc/mac/mac.h b/sys/include/net/gnrc/mac/mac.h index 2299919844..ad06600539 100644 --- a/sys/include/net/gnrc/mac/mac.h +++ b/sys/include/net/gnrc/mac/mac.h @@ -21,8 +21,8 @@ * @author Shuguo Zhuo */ -#ifndef GNRC_MAC_H -#define GNRC_MAC_H +#ifndef NET_GNRC_MAC_MAC_H +#define NET_GNRC_MAC_MAC_H #ifdef __cplusplus extern "C" { @@ -60,5 +60,5 @@ extern "C" { } #endif -#endif /* GNRC_MAC_H */ +#endif /* NET_GNRC_MAC_MAC_H */ /** @} */ diff --git a/sys/include/net/gnrc/mac/types.h b/sys/include/net/gnrc/mac/types.h index d69b2be3e8..c18e2ffdb5 100644 --- a/sys/include/net/gnrc/mac/types.h +++ b/sys/include/net/gnrc/mac/types.h @@ -18,8 +18,8 @@ * @author Shuguo Zhuo */ -#ifndef GNRC_MAC_TYPES_H -#define GNRC_MAC_TYPES_H +#ifndef NET_GNRC_MAC_TYPES_H +#define NET_GNRC_MAC_TYPES_H #include #include @@ -186,5 +186,5 @@ typedef struct { } #endif -#endif /* GNRC_MAC_TYPES_H */ +#endif /* NET_GNRC_MAC_TYPES_H */ /** @} */ diff --git a/sys/include/net/gnrc/ndp.h b/sys/include/net/gnrc/ndp.h index 425a360063..df745947ff 100644 --- a/sys/include/net/gnrc/ndp.h +++ b/sys/include/net/gnrc/ndp.h @@ -18,8 +18,8 @@ * @author Martine Lenders */ -#ifndef GNRC_NDP_H -#define GNRC_NDP_H +#ifndef NET_GNRC_NDP_H +#define NET_GNRC_NDP_H #include #include @@ -557,7 +557,7 @@ gnrc_pktsnip_t *gnrc_ndp_opt_mtu_build(uint32_t mtu, gnrc_pktsnip_t *next); } #endif -#endif /* GNRC_NDP_H */ +#endif /* NET_GNRC_NDP_H */ /** * @} */ diff --git a/sys/include/net/gnrc/ndp/host.h b/sys/include/net/gnrc/ndp/host.h index d073f488c8..deebb6a302 100644 --- a/sys/include/net/gnrc/ndp/host.h +++ b/sys/include/net/gnrc/ndp/host.h @@ -18,8 +18,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NDP_HOST_H -#define GNRC_NDP_HOST_H +#ifndef NET_GNRC_NDP_HOST_H +#define NET_GNRC_NDP_HOST_H #include "net/gnrc/ipv6/netif.h" @@ -50,5 +50,5 @@ void gnrc_ndp_host_retrans_rtr_sol(gnrc_ipv6_netif_t *iface); } #endif -#endif /* GNRC_NDP_HOST_H */ +#endif /* NET_GNRC_NDP_HOST_H */ /** @} */ diff --git a/sys/include/net/gnrc/ndp/internal.h b/sys/include/net/gnrc/ndp/internal.h index ad97670780..13fd68e357 100644 --- a/sys/include/net/gnrc/ndp/internal.h +++ b/sys/include/net/gnrc/ndp/internal.h @@ -19,8 +19,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NDP_INTERNAL_H -#define GNRC_NDP_INTERNAL_H +#ifndef NET_GNRC_NDP_INTERNAL_H +#define NET_GNRC_NDP_INTERNAL_H #include "kernel_types.h" #include "net/gnrc/ipv6/nc.h" @@ -211,5 +211,5 @@ static inline void gnrc_ndp_internal_reset_nbr_sol_timer(gnrc_ipv6_nc_t *nc_entr } #endif -#endif /* GNRC_NDP_INTERNAL_H */ +#endif /* NET_GNRC_NDP_INTERNAL_H */ /** @} */ diff --git a/sys/include/net/gnrc/ndp/node.h b/sys/include/net/gnrc/ndp/node.h index a5f4ae1e1e..61ef12e14f 100644 --- a/sys/include/net/gnrc/ndp/node.h +++ b/sys/include/net/gnrc/ndp/node.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NDP_NODE_H -#define GNRC_NDP_NODE_H +#ifndef NET_GNRC_NDP_NODE_H +#define NET_GNRC_NDP_NODE_H #ifdef __cplusplus extern "C" { @@ -49,5 +49,5 @@ kernel_pid_t gnrc_ndp_node_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_len, } #endif -#endif /* GNRC_NDP_NODE_H */ +#endif /* NET_GNRC_NDP_NODE_H */ /** @} */ diff --git a/sys/include/net/gnrc/ndp/router.h b/sys/include/net/gnrc/ndp/router.h index 9658d5876f..21e78e9709 100644 --- a/sys/include/net/gnrc/ndp/router.h +++ b/sys/include/net/gnrc/ndp/router.h @@ -18,8 +18,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NDP_ROUTER_H -#define GNRC_NDP_ROUTER_H +#ifndef NET_GNRC_NDP_ROUTER_H +#define NET_GNRC_NDP_ROUTER_H #include @@ -84,5 +84,5 @@ void gnrc_ndp_router_send_rtr_adv(gnrc_ipv6_nc_t *neighbor); } #endif -#endif /* GNRC_NDP_ROUTER_H */ +#endif /* NET_GNRC_NDP_ROUTER_H */ /** @} */ diff --git a/sys/include/net/gnrc/netapi.h b/sys/include/net/gnrc/netapi.h index 15b3a136c3..f329391285 100644 --- a/sys/include/net/gnrc/netapi.h +++ b/sys/include/net/gnrc/netapi.h @@ -55,8 +55,8 @@ * @author Hauke Petersen */ -#ifndef GNRC_NETAPI_H -#define GNRC_NETAPI_H +#ifndef NET_GNRC_NETAPI_H +#define NET_GNRC_NETAPI_H #include "thread.h" #include "net/netopt.h" @@ -210,7 +210,7 @@ int gnrc_netapi_set(kernel_pid_t pid, netopt_t opt, uint16_t context, } #endif -#endif /* GNRC_NETAPI_H */ +#endif /* NET_GNRC_NETAPI_H */ /** * @}^ */ diff --git a/sys/include/net/gnrc/netdev.h b/sys/include/net/gnrc/netdev.h index b7d6d480c1..4313aa7c92 100644 --- a/sys/include/net/gnrc/netdev.h +++ b/sys/include/net/gnrc/netdev.h @@ -26,8 +26,8 @@ * @author Kaspar Schleiser */ -#ifndef GNRC_NETDEV_H -#define GNRC_NETDEV_H +#ifndef NET_GNRC_NETDEV_H +#define NET_GNRC_NETDEV_H #include #include @@ -222,5 +222,5 @@ kernel_pid_t gnrc_netdev_init(char *stack, int stacksize, char priority, } #endif -#endif /* GNRC_NETDEV_H */ +#endif /* NET_GNRC_NETDEV_H */ /** @} */ diff --git a/sys/include/net/gnrc/netdev/eth.h b/sys/include/net/gnrc/netdev/eth.h index fafb366695..c9ce1d5fce 100644 --- a/sys/include/net/gnrc/netdev/eth.h +++ b/sys/include/net/gnrc/netdev/eth.h @@ -16,8 +16,8 @@ * @author Kaspar Schleiser */ -#ifndef GNRC_NETDEV_ETH_H -#define GNRC_NETDEV_ETH_H +#ifndef NET_GNRC_NETDEV_ETH_H +#define NET_GNRC_NETDEV_ETH_H #include "net/gnrc/netdev.h" @@ -40,5 +40,5 @@ int gnrc_netdev_eth_init(gnrc_netdev_t *gnrc_netdev, netdev_t *dev); } #endif -#endif /* GNRC_NETDEV_ETH_H */ +#endif /* NET_GNRC_NETDEV_ETH_H */ /** @} */ diff --git a/sys/include/net/gnrc/netdev/ieee802154.h b/sys/include/net/gnrc/netdev/ieee802154.h index 48cb8b0d8c..5db4660ce2 100644 --- a/sys/include/net/gnrc/netdev/ieee802154.h +++ b/sys/include/net/gnrc/netdev/ieee802154.h @@ -16,8 +16,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NETDEV_IEEE802154_H -#define GNRC_NETDEV_IEEE802154_H +#ifndef NET_GNRC_NETDEV_IEEE802154_H +#define NET_GNRC_NETDEV_IEEE802154_H #include "net/netdev/ieee802154.h" #include "net/gnrc/netdev.h" @@ -42,5 +42,5 @@ int gnrc_netdev_ieee802154_init(gnrc_netdev_t *gnrc_netdev, } #endif -#endif /* GNRC_IEEE802154_H */ +#endif /* NET_GNRC_NETDEV_IEEE802154_H */ /** @} */ diff --git a/sys/include/net/gnrc/netdev/xbee_adpt.h b/sys/include/net/gnrc/netdev/xbee_adpt.h index 11da5dee8a..158f1b1797 100644 --- a/sys/include/net/gnrc/netdev/xbee_adpt.h +++ b/sys/include/net/gnrc/netdev/xbee_adpt.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef GNRC_NETDEV_XBEE_ADPT_H -#define GNRC_NETDEV_XBEE_ADPT_H +#ifndef NET_GNRC_NETDEV_XBEE_ADPT_H +#define NET_GNRC_NETDEV_XBEE_ADPT_H #include "xbee.h" #include "net/gnrc/netdev.h" @@ -48,5 +48,5 @@ void gnrc_netdev_xbee_init(gnrc_netdev_t *gnrc_netdev, xbee_t *dev); } #endif -#endif /* GNRC_NETDEV_XBEE_ADPT_H */ +#endif /* NET_GNRC_NETDEV_XBEE_ADPT_H */ /** @} */ diff --git a/sys/include/net/gnrc/neterr.h b/sys/include/net/gnrc/neterr.h index 838ddc7577..6583294cc7 100644 --- a/sys/include/net/gnrc/neterr.h +++ b/sys/include/net/gnrc/neterr.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NETERR_H -#define GNRC_NETERR_H +#ifndef NET_GNRC_NETERR_H +#define NET_GNRC_NETERR_H #include #include @@ -89,5 +89,5 @@ static inline int gnrc_neterr_reg(gnrc_pktsnip_t *pkt) } #endif -#endif /* GNRC_NETERR_H */ +#endif /* NET_GNRC_NETERR_H */ /** @} */ diff --git a/sys/include/net/gnrc/netif.h b/sys/include/net/gnrc/netif.h index f033aa2d9a..c92f33bbdc 100644 --- a/sys/include/net/gnrc/netif.h +++ b/sys/include/net/gnrc/netif.h @@ -22,8 +22,8 @@ * @author Martine Lenders * @author Oliver Hahm */ -#ifndef GNRC_NETIF_H -#define GNRC_NETIF_H +#ifndef NET_GNRC_NETIF_H +#define NET_GNRC_NETIF_H #include #include @@ -142,5 +142,5 @@ size_t gnrc_netif_addr_from_str(uint8_t *out, size_t out_len, const char *str); } #endif -#endif /* GNRC_NETIF_H */ +#endif /* NET_GNRC_NETIF_H */ /** @} */ diff --git a/sys/include/net/gnrc/netif/hdr.h b/sys/include/net/gnrc/netif/hdr.h index 3c75ba2651..b1e101efd6 100644 --- a/sys/include/net/gnrc/netif/hdr.h +++ b/sys/include/net/gnrc/netif/hdr.h @@ -18,8 +18,8 @@ * @author Martine Lenders */ -#ifndef NETIF_HDR_H -#define NETIF_HDR_H +#ifndef NET_GNRC_NETIF_HDR_H +#define NET_GNRC_NETIF_HDR_H #include #include @@ -242,5 +242,5 @@ int gnrc_netif_hdr_get_srcaddr(gnrc_pktsnip_t* pkt, uint8_t** pointer_to_addr); } #endif -#endif /* NETIF_HDR_H */ +#endif /* NET_GNRC_NETIF_HDR_H */ /** @} */ diff --git a/sys/include/net/gnrc/netreg.h b/sys/include/net/gnrc/netreg.h index 92f5141b0c..381b771b72 100644 --- a/sys/include/net/gnrc/netreg.h +++ b/sys/include/net/gnrc/netreg.h @@ -18,8 +18,8 @@ * * @author Martine Lenders */ -#ifndef NETREG_H -#define NETREG_H +#ifndef NET_GNRC_NETREG_H +#define NET_GNRC_NETREG_H #include @@ -345,5 +345,5 @@ int gnrc_netreg_calc_csum(gnrc_pktsnip_t *hdr, gnrc_pktsnip_t *pseudo_hdr); } #endif -#endif /* NETREG_H */ +#endif /* NET_GNRC_NETREG_H */ /** @} */ diff --git a/sys/include/net/gnrc/nettest.h b/sys/include/net/gnrc/nettest.h index 5c1446c7eb..339af1971a 100644 --- a/sys/include/net/gnrc/nettest.h +++ b/sys/include/net/gnrc/nettest.h @@ -18,8 +18,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NETTEST_H -#define GNRC_NETTEST_H +#ifndef NET_GNRC_NETTEST_H +#define NET_GNRC_NETTEST_H #include #include @@ -264,5 +264,5 @@ void gnrc_nettest_reset(void); } #endif -#endif /* GNRC_NETTEST_H */ +#endif /* NET_GNRC_NETTEST_H */ /** @} */ diff --git a/sys/include/net/gnrc/nettype.h b/sys/include/net/gnrc/nettype.h index 6bc8777b9d..a455d24026 100644 --- a/sys/include/net/gnrc/nettype.h +++ b/sys/include/net/gnrc/nettype.h @@ -22,8 +22,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_NETTYPE_H -#define GNRC_NETTYPE_H +#ifndef NET_GNRC_NETTYPE_H +#define NET_GNRC_NETTYPE_H #include @@ -245,5 +245,5 @@ static inline uint8_t gnrc_nettype_to_protnum(gnrc_nettype_t type) } #endif -#endif /* GNRC_NETTYPE_H */ +#endif /* NET_GNRC_NETTYPE_H */ /** @} */ diff --git a/sys/include/net/gnrc/pkt.h b/sys/include/net/gnrc/pkt.h index c170e60b6c..647d8ca776 100644 --- a/sys/include/net/gnrc/pkt.h +++ b/sys/include/net/gnrc/pkt.h @@ -19,8 +19,8 @@ * @author Martine Lenders * @author Hauke Petersen */ -#ifndef GNRC_PKT_H -#define GNRC_PKT_H +#ifndef NET_GNRC_PKT_H +#define NET_GNRC_PKT_H #include #include @@ -196,5 +196,5 @@ gnrc_pktsnip_t *gnrc_pktsnip_search_type(gnrc_pktsnip_t *pkt, } #endif -#endif /* GNRC_PKT_H */ +#endif /* NET_GNRC_PKT_H */ /** @} */ diff --git a/sys/include/net/gnrc/pktbuf.h b/sys/include/net/gnrc/pktbuf.h index c68f3ab024..014a2067ba 100644 --- a/sys/include/net/gnrc/pktbuf.h +++ b/sys/include/net/gnrc/pktbuf.h @@ -27,8 +27,8 @@ * @author Martine Lenders * @author Hauke Petersen */ -#ifndef GNRC_PKTBUF_H -#define GNRC_PKTBUF_H +#ifndef NET_GNRC_PKTBUF_H +#define NET_GNRC_PKTBUF_H #include #include @@ -309,5 +309,5 @@ bool gnrc_pktbuf_is_sane(void); } #endif -#endif /* GNRC_PKTBUF_H */ +#endif /* NET_GNRC_PKTBUF_H */ /** @} */ diff --git a/sys/include/net/gnrc/pktdump.h b/sys/include/net/gnrc/pktdump.h index 0afdaf079d..6b25d6b785 100644 --- a/sys/include/net/gnrc/pktdump.h +++ b/sys/include/net/gnrc/pktdump.h @@ -19,8 +19,8 @@ * @author Hauke Petersen */ -#ifndef GNRC_PKTDUMP_H -#define GNRC_PKTDUMP_H +#ifndef NET_GNRC_PKTDUMP_H +#define NET_GNRC_PKTDUMP_H #include "kernel_types.h" @@ -66,5 +66,5 @@ kernel_pid_t gnrc_pktdump_init(void); } #endif -#endif /* GNRC_PKTDUMP_H */ +#endif /* NET_GNRC_PKTDUMP_H */ /** @} */ diff --git a/sys/include/net/gnrc/pktqueue.h b/sys/include/net/gnrc/pktqueue.h index 8826032391..fa6efe9f04 100644 --- a/sys/include/net/gnrc/pktqueue.h +++ b/sys/include/net/gnrc/pktqueue.h @@ -18,8 +18,8 @@ * @author Martine Lenders */ -#ifndef GNRC_PKTQUEUE_H -#define GNRC_PKTQUEUE_H +#ifndef NET_GNRC_PKTQUEUE_H +#define NET_GNRC_PKTQUEUE_H #include #include @@ -84,7 +84,7 @@ static inline gnrc_pktqueue_t *gnrc_pktqueue_remove_head(gnrc_pktqueue_t **queue } #endif -#endif /* GNRC_PKTQUEUE_H */ +#endif /* NET_GNRC_PKTQUEUE_H */ /** * @} */ diff --git a/sys/include/net/gnrc/priority_pktqueue.h b/sys/include/net/gnrc/priority_pktqueue.h index b3dc912df7..eb3c6867bf 100644 --- a/sys/include/net/gnrc/priority_pktqueue.h +++ b/sys/include/net/gnrc/priority_pktqueue.h @@ -20,8 +20,8 @@ * @author Shuguo Zhuo */ -#ifndef GNRC_PRIORITY_PKTQUEUE_H -#define GNRC_PRIORITY_PKTQUEUE_H +#ifndef NET_GNRC_PRIORITY_PKTQUEUE_H +#define NET_GNRC_PRIORITY_PKTQUEUE_H #include #include @@ -133,5 +133,5 @@ void gnrc_priority_pktqueue_push(gnrc_priority_pktqueue_t* queue, } #endif -#endif /* GNRC_PRIORITY_PKTQUEUE_H */ +#endif /* NET_GNRC_PRIORITY_PKTQUEUE_H */ /** @} */ diff --git a/sys/include/net/gnrc/rpl.h b/sys/include/net/gnrc/rpl.h index f2647f0c97..2ca8557cdb 100644 --- a/sys/include/net/gnrc/rpl.h +++ b/sys/include/net/gnrc/rpl.h @@ -95,8 +95,8 @@ * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_H -#define GNRC_RPL_H +#ifndef NET_GNRC_RPL_H +#define NET_GNRC_RPL_H #include #include @@ -634,5 +634,5 @@ static inline void gnrc_rpl_config_pio(gnrc_rpl_dodag_t *dodag, bool status) } #endif -#endif /* GNRC_RPL_H */ +#endif /* NET_GNRC_RPL_H */ /** @} */ diff --git a/sys/include/net/gnrc/rpl/dodag.h b/sys/include/net/gnrc/rpl/dodag.h index 9bc181481d..c01ecfe6b5 100644 --- a/sys/include/net/gnrc/rpl/dodag.h +++ b/sys/include/net/gnrc/rpl/dodag.h @@ -20,8 +20,8 @@ * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_DODAG_H -#define GNRC_RPL_DODAG_H +#ifndef NET_GNRC_RPL_DODAG_H +#define NET_GNRC_RPL_DODAG_H #ifdef __cplusplus extern "C" { @@ -173,7 +173,7 @@ void gnrc_rpl_router_operation(gnrc_rpl_dodag_t *dodag); } #endif -#endif /* GNRC_RPL_DODAG_H */ +#endif /* NET_GNRC_RPL_DODAG_H */ /** * @} */ diff --git a/sys/include/net/gnrc/rpl/of_manager.h b/sys/include/net/gnrc/rpl/of_manager.h index db6b52104f..4901e791ec 100644 --- a/sys/include/net/gnrc/rpl/of_manager.h +++ b/sys/include/net/gnrc/rpl/of_manager.h @@ -16,8 +16,8 @@ * @author Fabian Brandt */ -#ifndef RPL_OFM_H -#define RPL_OFM_H +#ifndef NET_GNRC_RPL_OF_MANAGER_H +#define NET_GNRC_RPL_OF_MANAGER_H #include "structs.h" @@ -41,5 +41,5 @@ gnrc_rpl_of_t *gnrc_rpl_get_of_for_ocp(uint16_t ocp); } #endif -#endif /* RPL_OFM_H */ +#endif /* NET_GNRC_RPL_OF_MANAGER_H */ /** @} */ diff --git a/sys/include/net/gnrc/rpl/p2p.h b/sys/include/net/gnrc/rpl/p2p.h index e8f9f51884..4dbe19b9d2 100644 --- a/sys/include/net/gnrc/rpl/p2p.h +++ b/sys/include/net/gnrc/rpl/p2p.h @@ -20,8 +20,8 @@ * * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_P2P_H -#define GNRC_RPL_P2P_H +#ifndef NET_GNRC_RPL_P2P_H +#define NET_GNRC_RPL_P2P_H #include "net/ipv6/addr.h" #include "net/gnrc.h" @@ -176,5 +176,5 @@ void gnrc_rpl_p2p_update(void); } #endif -#endif /* GNRC_RPL_P2P_H */ +#endif /* NET_GNRC_RPL_P2P_H */ /** @} */ diff --git a/sys/include/net/gnrc/rpl/p2p_dodag.h b/sys/include/net/gnrc/rpl/p2p_dodag.h index cc285b01ae..40179b2d96 100644 --- a/sys/include/net/gnrc/rpl/p2p_dodag.h +++ b/sys/include/net/gnrc/rpl/p2p_dodag.h @@ -18,8 +18,8 @@ * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_P2P_DODAG_H -#define GNRC_RPL_P2P_DODAG_H +#ifndef NET_GNRC_RPL_P2P_DODAG_H +#define NET_GNRC_RPL_P2P_DODAG_H #ifdef __cplusplus extern "C" { @@ -68,7 +68,7 @@ gnrc_rpl_p2p_ext_t *gnrc_rpl_p2p_ext_get(gnrc_rpl_dodag_t *dodag); } #endif -#endif /* GNRC_RPL_P2P_DODAG_H */ +#endif /* NET_GNRC_RPL_P2P_DODAG_H */ /** * @} */ diff --git a/sys/include/net/gnrc/rpl/p2p_structs.h b/sys/include/net/gnrc/rpl/p2p_structs.h index 39c87e5be5..0fcc42b752 100644 --- a/sys/include/net/gnrc/rpl/p2p_structs.h +++ b/sys/include/net/gnrc/rpl/p2p_structs.h @@ -18,8 +18,8 @@ * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_P2P_STRUCTS_H -#define GNRC_RPL_P2P_STRUCTS_H +#ifndef NET_GNRC_RPL_P2P_STRUCTS_H +#define NET_GNRC_RPL_P2P_STRUCTS_H #ifdef __cplusplus extern "C" { @@ -100,7 +100,7 @@ typedef struct { } #endif -#endif /* GNRC_RPL_P2P_STRUCTS_H */ +#endif /* NET_GNRC_RPL_P2P_STRUCTS_H */ /** * @} */ diff --git a/sys/include/net/gnrc/rpl/srh.h b/sys/include/net/gnrc/rpl/srh.h index e8cdf79e49..5078198d4d 100644 --- a/sys/include/net/gnrc/rpl/srh.h +++ b/sys/include/net/gnrc/rpl/srh.h @@ -20,8 +20,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_RPL_SRH_H -#define GNRC_RPL_SRH_H +#ifndef NET_GNRC_RPL_SRH_H +#define NET_GNRC_RPL_SRH_H #include "net/ipv6/hdr.h" #include "net/ipv6/addr.h" @@ -70,5 +70,5 @@ int gnrc_rpl_srh_process(ipv6_hdr_t *ipv6, gnrc_rpl_srh_t *rh); } #endif -#endif /* GNRC_RPL_SRH_H */ +#endif /* NET_GNRC_RPL_SRH_H */ /** @} */ diff --git a/sys/include/net/gnrc/rpl/structs.h b/sys/include/net/gnrc/rpl/structs.h index 69afc52ea9..2dbad50ba7 100644 --- a/sys/include/net/gnrc/rpl/structs.h +++ b/sys/include/net/gnrc/rpl/structs.h @@ -20,8 +20,8 @@ * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_STRUCTS_H -#define GNRC_RPL_STRUCTS_H +#ifndef NET_GNRC_RPL_STRUCTS_H +#define NET_GNRC_RPL_STRUCTS_H #ifdef __cplusplus extern "C" { @@ -293,7 +293,7 @@ struct gnrc_rpl_instance { } #endif -#endif /* GNRC_RPL_STRUCTS_H */ +#endif /* NET_GNRC_RPL_STRUCTS_H */ /** * @} */ diff --git a/sys/include/net/gnrc/sixlowpan.h b/sys/include/net/gnrc/sixlowpan.h index a0e564a7b5..1f9b4a9e25 100644 --- a/sys/include/net/gnrc/sixlowpan.h +++ b/sys/include/net/gnrc/sixlowpan.h @@ -97,8 +97,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_H -#define GNRC_SIXLOWPAN_H +#ifndef NET_GNRC_SIXLOWPAN_H +#define NET_GNRC_SIXLOWPAN_H #include @@ -150,5 +150,5 @@ kernel_pid_t gnrc_sixlowpan_init(void); } #endif -#endif /* GNRC_SIXLOWPAN_H */ +#endif /* NET_GNRC_SIXLOWPAN_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/ctx.h b/sys/include/net/gnrc/sixlowpan/ctx.h index ae4d9ff9f8..71132728b6 100644 --- a/sys/include/net/gnrc/sixlowpan/ctx.h +++ b/sys/include/net/gnrc/sixlowpan/ctx.h @@ -23,8 +23,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_CTX_H -#define GNRC_SIXLOWPAN_CTX_H +#ifndef NET_GNRC_SIXLOWPAN_CTX_H +#define NET_GNRC_SIXLOWPAN_CTX_H #include #include @@ -136,5 +136,5 @@ void gnrc_sixlowpan_ctx_reset(void); } #endif -#endif /* GNRC_SIXLOWPAN_CTX_H */ +#endif /* NET_GNRC_SIXLOWPAN_CTX_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/frag.h b/sys/include/net/gnrc/sixlowpan/frag.h index 53a62c3c4f..68f2c4d9bf 100644 --- a/sys/include/net/gnrc/sixlowpan/frag.h +++ b/sys/include/net/gnrc/sixlowpan/frag.h @@ -22,8 +22,8 @@ * @author Martine Lenders * @author Peter Kietzmann */ -#ifndef GNRC_SIXLOWPAN_FRAG_H -#define GNRC_SIXLOWPAN_FRAG_H +#ifndef NET_GNRC_SIXLOWPAN_FRAG_H +#define NET_GNRC_SIXLOWPAN_FRAG_H #include #include @@ -72,5 +72,5 @@ void gnrc_sixlowpan_frag_handle_pkt(gnrc_pktsnip_t *pkt); } #endif -#endif /* GNRC_SIXLOWPAN_FRAG_H */ +#endif /* NET_GNRC_SIXLOWPAN_FRAG_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/iphc.h b/sys/include/net/gnrc/sixlowpan/iphc.h index 82e0c76041..a754dd84d6 100644 --- a/sys/include/net/gnrc/sixlowpan/iphc.h +++ b/sys/include/net/gnrc/sixlowpan/iphc.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_IPHC_H -#define GNRC_SIXLOWPAN_IPHC_H +#ifndef NET_GNRC_SIXLOWPAN_IPHC_H +#define NET_GNRC_SIXLOWPAN_IPHC_H #include @@ -65,5 +65,5 @@ bool gnrc_sixlowpan_iphc_encode(gnrc_pktsnip_t *pkt); } #endif -#endif /* GNRC_SIXLOWPAN_IPHC_H */ +#endif /* NET_GNRC_SIXLOWPAN_IPHC_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/nd.h b/sys/include/net/gnrc/sixlowpan/nd.h index 14eece0958..61bc052556 100644 --- a/sys/include/net/gnrc/sixlowpan/nd.h +++ b/sys/include/net/gnrc/sixlowpan/nd.h @@ -20,8 +20,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_ND_H -#define GNRC_SIXLOWPAN_ND_H +#ifndef NET_GNRC_SIXLOWPAN_ND_H +#define NET_GNRC_SIXLOWPAN_ND_H #include @@ -282,5 +282,5 @@ gnrc_pktsnip_t *gnrc_sixlowpan_nd_opt_abr_build(uint32_t version, uint16_t ltime } #endif -#endif /* GNRC_SIXLOWPAN_ND_H */ +#endif /* NET_GNRC_SIXLOWPAN_ND_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/nd/border_router.h b/sys/include/net/gnrc/sixlowpan/nd/border_router.h index f461626dcd..7d61d36f87 100644 --- a/sys/include/net/gnrc/sixlowpan/nd/border_router.h +++ b/sys/include/net/gnrc/sixlowpan/nd/border_router.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_BORDER_ROUTER_H -#define GNRC_SIXLOWPAN_BORDER_ROUTER_H +#ifndef NET_GNRC_SIXLOWPAN_ND_BORDER_ROUTER_H +#define NET_GNRC_SIXLOWPAN_ND_BORDER_ROUTER_H #ifdef __cplusplus extern "C" { @@ -39,5 +39,5 @@ extern "C" { } #endif -#endif /* GNRC_SIXLOWPAN_BORDER_ROUTER_H */ +#endif /* NET_GNRC_SIXLOWPAN_ND_BORDER_ROUTER_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/nd/router.h b/sys/include/net/gnrc/sixlowpan/nd/router.h index 61d3701622..302a858f90 100644 --- a/sys/include/net/gnrc/sixlowpan/nd/router.h +++ b/sys/include/net/gnrc/sixlowpan/nd/router.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_ND_ROUTER_H -#define GNRC_SIXLOWPAN_ND_ROUTER_H +#ifndef NET_GNRC_SIXLOWPAN_ND_ROUTER_H +#define NET_GNRC_SIXLOWPAN_ND_ROUTER_H #include @@ -222,5 +222,5 @@ void gnrc_sixlowpan_nd_router_abr_rem_ctx(gnrc_sixlowpan_nd_router_abr_t *abr, u } #endif -#endif /* GNRC_SIXLOWPAN_ND_ROUTER_H */ +#endif /* NET_GNRC_SIXLOWPAN_ND_ROUTER_H */ /** @} */ diff --git a/sys/include/net/gnrc/sixlowpan/netif.h b/sys/include/net/gnrc/sixlowpan/netif.h index 855eb20edc..c6a7a28510 100644 --- a/sys/include/net/gnrc/sixlowpan/netif.h +++ b/sys/include/net/gnrc/sixlowpan/netif.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_NETIF_H -#define GNRC_SIXLOWPAN_NETIF_H +#ifndef NET_GNRC_SIXLOWPAN_NETIF_H +#define NET_GNRC_SIXLOWPAN_NETIF_H #include @@ -73,5 +73,5 @@ gnrc_sixlowpan_netif_t *gnrc_sixlowpan_netif_get(kernel_pid_t pid); } #endif -#endif /* GNRC_SIXLOWPAN_NETIF_H */ +#endif /* NET_GNRC_SIXLOWPAN_NETIF_H */ /** @} */ diff --git a/sys/include/net/gnrc/slip.h b/sys/include/net/gnrc/slip.h index 85e2558604..ac6d249f52 100644 --- a/sys/include/net/gnrc/slip.h +++ b/sys/include/net/gnrc/slip.h @@ -21,8 +21,8 @@ * @author Hauke Petersen */ -#ifndef GNRC_SLIP_H -#define GNRC_SLIP_H +#ifndef NET_GNRC_SLIP_H +#define NET_GNRC_SLIP_H #include @@ -88,5 +88,5 @@ kernel_pid_t gnrc_slip_init(gnrc_slip_dev_t *dev, uart_t uart, uint32_t baudrate } #endif -#endif /* __SLIP_H */ +#endif /* NET_GNRC_SLIP_H */ /** @} */ diff --git a/sys/include/net/gnrc/tcp.h b/sys/include/net/gnrc/tcp.h index 67da62aded..0902e8d836 100644 --- a/sys/include/net/gnrc/tcp.h +++ b/sys/include/net/gnrc/tcp.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_H -#define GNRC_TCP_H +#ifndef NET_GNRC_TCP_H +#define NET_GNRC_TCP_H #include #include "net/gnrc/pkt.h" @@ -216,5 +216,5 @@ gnrc_pktsnip_t *gnrc_tcp_hdr_build(gnrc_pktsnip_t *payload, uint16_t src, uint16 } #endif -#endif /* GNRC_TCP_H */ +#endif /* NET_GNRC_TCP_H */ /** @} */ diff --git a/sys/include/net/gnrc/tcp/config.h b/sys/include/net/gnrc/tcp/config.h index 427798f33f..ce9e2d2745 100644 --- a/sys/include/net/gnrc/tcp/config.h +++ b/sys/include/net/gnrc/tcp/config.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_CONFIG_H -#define GNRC_TCP_CONFIG_H +#ifndef NET_GNRC_TCP_CONFIG_H +#define NET_GNRC_TCP_CONFIG_H #include "timex.h" @@ -141,5 +141,5 @@ extern "C" { } #endif -#endif /* GNRC_TCP_CONFIG_H */ +#endif /* NET_GNRC_TCP_CONFIG_H */ /** @} */ diff --git a/sys/include/net/gnrc/tcp/tcb.h b/sys/include/net/gnrc/tcp/tcb.h index 258482788d..eb54672ed6 100644 --- a/sys/include/net/gnrc/tcp/tcb.h +++ b/sys/include/net/gnrc/tcp/tcb.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_TCB_H -#define GNRC_TCP_TCB_H +#ifndef NET_GNRC_TCP_TCB_H +#define NET_GNRC_TCP_TCB_H #include #include "kernel_types.h" @@ -88,5 +88,5 @@ typedef struct _transmission_control_block { #ifdef __cplusplus } #endif -#endif /* GNRC_TCP_TCB_H */ +#endif /* NET_GNRC_TCP_TCB_H */ /** @} */ diff --git a/sys/include/net/gnrc/tftp.h b/sys/include/net/gnrc/tftp.h index 48475c4145..f9c91515b5 100644 --- a/sys/include/net/gnrc/tftp.h +++ b/sys/include/net/gnrc/tftp.h @@ -32,8 +32,8 @@ * @author Nick van IJzendoorn */ -#ifndef GNRC_TFTP_H -#define GNRC_TFTP_H +#ifndef NET_GNRC_TFTP_H +#define NET_GNRC_TFTP_H #include @@ -199,7 +199,7 @@ int gnrc_tftp_client_write(ipv6_addr_t *addr, const char *file_name, tftp_mode_t } #endif -#endif /* GNRC_TFTP_H */ +#endif /* NET_GNRC_TFTP_H */ /** * @} diff --git a/sys/include/net/gnrc/udp.h b/sys/include/net/gnrc/udp.h index b9e1ec3c31..91e4bbe981 100644 --- a/sys/include/net/gnrc/udp.h +++ b/sys/include/net/gnrc/udp.h @@ -19,8 +19,8 @@ * @author Hauke Petersen */ -#ifndef GNRC_UDP_H -#define GNRC_UDP_H +#ifndef NET_GNRC_UDP_H +#define NET_GNRC_UDP_H #include @@ -92,5 +92,5 @@ int gnrc_udp_init(void); } #endif -#endif /* GNRC_UDP_H */ +#endif /* NET_GNRC_UDP_H */ /** @} */ diff --git a/sys/include/net/iana/portrange.h b/sys/include/net/iana/portrange.h index bc421634ce..20f48be490 100644 --- a/sys/include/net/iana/portrange.h +++ b/sys/include/net/iana/portrange.h @@ -17,8 +17,8 @@ * * @author smlng , */ -#ifndef IANA_H -#define IANA_H +#ifndef NET_IANA_PORTRANGE_H +#define NET_IANA_PORTRANGE_H #ifdef __cplusplus extern "C" { @@ -43,5 +43,5 @@ extern "C" { } #endif -#endif /* IANA_H */ +#endif /* NET_IANA_PORTRANGE_H */ /** @} */ diff --git a/sys/include/net/icmp.h b/sys/include/net/icmp.h index ccdf2a96c8..0fc5eac991 100644 --- a/sys/include/net/icmp.h +++ b/sys/include/net/icmp.h @@ -20,8 +20,8 @@ * * @author José Ignacio Alamos */ -#ifndef ICMP_H -#define ICMP_H +#ifndef NET_ICMP_H +#define NET_ICMP_H #include "byteorder.h" @@ -50,5 +50,5 @@ typedef struct __attribute__((packed)){ } #endif -#endif /* ICMP_H */ +#endif /* NET_ICMP_H */ /** @} */ diff --git a/sys/include/net/icmpv6.h b/sys/include/net/icmpv6.h index 76cb52ba47..3a9e606e16 100644 --- a/sys/include/net/icmpv6.h +++ b/sys/include/net/icmpv6.h @@ -20,8 +20,8 @@ * * @author Martine Lenders */ -#ifndef ICMPV6_H -#define ICMPV6_H +#ifndef NET_ICMPV6_H +#define NET_ICMPV6_H #include @@ -228,5 +228,5 @@ void icmpv6_hdr_print(icmpv6_hdr_t *hdr); } #endif -#endif /* ICMPV6_H */ +#endif /* NET_ICMPV6_H */ /** @} */ diff --git a/sys/include/net/ieee802154.h b/sys/include/net/ieee802154.h index 987058dc82..ce67c103bb 100644 --- a/sys/include/net/ieee802154.h +++ b/sys/include/net/ieee802154.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef IEEE802154_H -#define IEEE802154_H +#ifndef NET_IEEE802154_H +#define NET_IEEE802154_H #include #include @@ -295,5 +295,5 @@ static inline eui64_t *ieee802154_get_iid(eui64_t *eui64, const uint8_t *addr, } #endif -#endif /* IEEE802154_H */ +#endif /* NET_IEEE802154_H */ /** @} */ diff --git a/sys/include/net/inet_csum.h b/sys/include/net/inet_csum.h index 1d24ea75fd..4b89c16993 100644 --- a/sys/include/net/inet_csum.h +++ b/sys/include/net/inet_csum.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef INET_CSUM_H -#define INET_CSUM_H +#ifndef NET_INET_CSUM_H +#define NET_INET_CSUM_H #include #include @@ -77,5 +77,5 @@ static inline uint16_t inet_csum(uint16_t sum, const uint8_t *buf, uint16_t len) } #endif -#endif /* INET_CSUM_H */ +#endif /* NET_INET_CSUM_H */ /** @} */ diff --git a/sys/include/net/ipv4.h b/sys/include/net/ipv4.h index ccca570dde..55d37c36a9 100644 --- a/sys/include/net/ipv4.h +++ b/sys/include/net/ipv4.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef IPV4_H -#define IPV4_H +#ifndef NET_IPV4_H +#define NET_IPV4_H #include "net/ipv4/addr.h" @@ -31,5 +31,5 @@ extern "C" { } #endif -#endif /* IPV4_H */ +#endif /* NET_IPV4_H */ /** @} */ diff --git a/sys/include/net/ipv4/addr.h b/sys/include/net/ipv4/addr.h index 0f99f9df0d..9a5e5454a9 100644 --- a/sys/include/net/ipv4/addr.h +++ b/sys/include/net/ipv4/addr.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef IPV4_ADDR_H -#define IPV4_ADDR_H +#ifndef NET_IPV4_ADDR_H +#define NET_IPV4_ADDR_H #include #include @@ -87,5 +87,5 @@ ipv4_addr_t *ipv4_addr_from_str(ipv4_addr_t *result, const char *addr); } #endif -#endif /* IPV4_ADDR_H */ +#endif /* NET_IPV4_ADDR_H */ /** @} */ diff --git a/sys/include/net/ipv4/hdr.h b/sys/include/net/ipv4/hdr.h index 7868bdc736..f7b5a393eb 100644 --- a/sys/include/net/ipv4/hdr.h +++ b/sys/include/net/ipv4/hdr.h @@ -17,8 +17,8 @@ * * @author José Ignacio Alamos */ -#ifndef IPV4_HDR_H -#define IPV4_HDR_H +#ifndef NET_IPV4_HDR_H +#define NET_IPV4_HDR_H #include "byteorder.h" #include "net/ipv4/addr.h" @@ -191,5 +191,5 @@ static inline uint16_t ipv4_hdr_get_fo(ipv4_hdr_t *hdr) } #endif -#endif /* IPV4_HDR_H */ +#endif /* NET_IPV4_HDR_H */ /** @} */ diff --git a/sys/include/net/ipv6.h b/sys/include/net/ipv6.h index f5a68a8f10..c7f66153c8 100644 --- a/sys/include/net/ipv6.h +++ b/sys/include/net/ipv6.h @@ -21,8 +21,8 @@ * * @author Martine Lenders */ -#ifndef IPV6_H -#define IPV6_H +#ifndef NET_IPV6_H +#define NET_IPV6_H #include "net/ipv6/addr.h" #include "net/ipv6/ext.h" @@ -46,5 +46,5 @@ extern "C" { #endif -#endif /* IPV6_H */ +#endif /* NET_IPV6_H */ /** @} */ diff --git a/sys/include/net/ipv6/addr.h b/sys/include/net/ipv6/addr.h index 89ecb4d70b..7abe457596 100644 --- a/sys/include/net/ipv6/addr.h +++ b/sys/include/net/ipv6/addr.h @@ -24,8 +24,8 @@ */ -#ifndef IPV6_ADDR_H -#define IPV6_ADDR_H +#ifndef NET_IPV6_ADDR_H +#define NET_IPV6_ADDR_H #include #include @@ -780,7 +780,7 @@ void ipv6_addr_print(const ipv6_addr_t *addr); } #endif -#endif /* IPV6_ADDR_H */ +#endif /* NET_IPV6_ADDR_H */ /** * @} */ diff --git a/sys/include/net/ipv6/ext.h b/sys/include/net/ipv6/ext.h index 6b842c59cc..6dee6dcfa8 100644 --- a/sys/include/net/ipv6/ext.h +++ b/sys/include/net/ipv6/ext.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef IPV6_EXT_H -#define IPV6_EXT_H +#ifndef NET_IPV6_EXT_H +#define NET_IPV6_EXT_H #include @@ -60,5 +60,5 @@ static inline ipv6_ext_t *ipv6_ext_get_next(ipv6_ext_t *ext) } #endif -#endif /* IPV6_EXT_H */ +#endif /* NET_IPV6_EXT_H */ /** @} */ diff --git a/sys/include/net/ipv6/ext/rh.h b/sys/include/net/ipv6/ext/rh.h index 9f2b3c6a99..fa22634c77 100644 --- a/sys/include/net/ipv6/ext/rh.h +++ b/sys/include/net/ipv6/ext/rh.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef IPV6_EXT_RH_H -#define IPV6_EXT_RH_H +#ifndef NET_IPV6_EXT_RH_H +#define NET_IPV6_EXT_RH_H #include @@ -73,5 +73,5 @@ int ipv6_ext_rh_process(ipv6_hdr_t *ipv6, ipv6_ext_rh_t *ext); } #endif -#endif /* IPV6_EXT_RH_H */ +#endif /* NET_IPV6_EXT_RH_H */ /** @} */ diff --git a/sys/include/net/ipv6/hdr.h b/sys/include/net/ipv6/hdr.h index e607c06127..a4f1aff1e7 100644 --- a/sys/include/net/ipv6/hdr.h +++ b/sys/include/net/ipv6/hdr.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef IPV6_HDR_H -#define IPV6_HDR_H +#ifndef NET_IPV6_HDR_H +#define NET_IPV6_HDR_H #include @@ -308,5 +308,5 @@ void ipv6_hdr_print(ipv6_hdr_t *hdr); } #endif -#endif /* IPV6_HDR_H */ +#endif /* NET_IPV6_HDR_H */ /** @} */ diff --git a/sys/include/net/l2filter.h b/sys/include/net/l2filter.h index 3e6403ebc8..b013fb6486 100644 --- a/sys/include/net/l2filter.h +++ b/sys/include/net/l2filter.h @@ -28,8 +28,8 @@ * @author Hauke Petersen */ -#ifndef L2FILTER_H -#define L2FILTER_H +#ifndef NET_L2FILTER_H +#define NET_L2FILTER_H #include #include @@ -125,5 +125,5 @@ bool l2filter_pass(const l2filter_t *list, const void *addr, size_t addr_len); } #endif -#endif /* L2FILTER_H */ +#endif /* NET_L2FILTER_H */ /** @} */ diff --git a/sys/include/net/ndp.h b/sys/include/net/ndp.h index b96c45d3f8..2e279dc18a 100644 --- a/sys/include/net/ndp.h +++ b/sys/include/net/ndp.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef NDP_H -#define NDP_H +#ifndef NET_NDP_H +#define NET_NDP_H #include @@ -291,5 +291,5 @@ typedef struct __attribute__((packed)) { } #endif -#endif /* NDP_H */ +#endif /* NET_NDP_H */ /** @} */ diff --git a/sys/include/net/netdev_test.h b/sys/include/net/netdev_test.h index 22cf35cd1f..9f9e63f511 100644 --- a/sys/include/net/netdev_test.h +++ b/sys/include/net/netdev_test.h @@ -76,8 +76,8 @@ * * @author Martine Lenders */ -#ifndef NETDEV_TEST_H -#define NETDEV_TEST_H +#ifndef NET_NETDEV_TEST_H +#define NET_NETDEV_TEST_H #include "mutex.h" @@ -302,5 +302,5 @@ void netdev_test_reset(netdev_test_t *dev); } #endif -#endif /* NETDEV_TEST_H */ +#endif /* NET_NETDEV_TEST_H */ /** @} */ diff --git a/sys/include/net/netopt.h b/sys/include/net/netopt.h index 52c05d9c30..505240f4a0 100644 --- a/sys/include/net/netopt.h +++ b/sys/include/net/netopt.h @@ -22,8 +22,8 @@ * @author Kaspar Schleiser */ -#ifndef NETOPT_H -#define NETOPT_H +#ifndef NET_NETOPT_H +#define NET_NETOPT_H #ifdef __cplusplus extern "C" { @@ -323,5 +323,5 @@ const char *netopt2str(netopt_t opt); } #endif -#endif /* NETOPT_H */ +#endif /* NET_NETOPT_H */ /** @} */ diff --git a/sys/include/net/netstats.h b/sys/include/net/netstats.h index 2e197eea04..c517b1e3c8 100644 --- a/sys/include/net/netstats.h +++ b/sys/include/net/netstats.h @@ -20,8 +20,8 @@ #include -#ifndef NETSTATS_H -#define NETSTATS_H +#ifndef NET_NETSTATS_H +#define NET_NETSTATS_H #ifdef __cplusplus extern "C" { @@ -57,5 +57,5 @@ typedef struct { } #endif -#endif /* NETSTATS_H */ +#endif /* NET_NETSTATS_H */ /** @} */ diff --git a/sys/include/net/ntp_packet.h b/sys/include/net/ntp_packet.h index 51cd659744..d46e016ec4 100644 --- a/sys/include/net/ntp_packet.h +++ b/sys/include/net/ntp_packet.h @@ -19,8 +19,8 @@ * @author Martine Lenders */ -#ifndef NTP_PACKET_H -#define NTP_PACKET_H +#ifndef NET_NTP_PACKET_H +#define NET_NTP_PACKET_H #include #include "byteorder.h" @@ -169,5 +169,5 @@ static inline ntp_mode_t ntp_packet_get_mode(ntp_packet_t *packet) } #endif -#endif /* NTP_PACKET_H */ +#endif /* NET_NTP_PACKET_H */ /** @} */ diff --git a/sys/include/net/packet.h b/sys/include/net/packet.h index 043f58852a..5bc8ea68ef 100644 --- a/sys/include/net/packet.h +++ b/sys/include/net/packet.h @@ -18,8 +18,8 @@ * @author Oliver Hahm */ -#ifndef PACKET_H -#define PACKET_H +#ifndef NET_PACKET_H +#define NET_PACKET_H #ifdef __cplusplus extern "C" { @@ -45,4 +45,4 @@ struct sockaddr_ll { /** * @} */ -#endif /* PACKET_H */ +#endif /* NET_PACKET_H */ diff --git a/sys/include/net/ppp/hdr.h b/sys/include/net/ppp/hdr.h index b4b2996617..bf09e24ba4 100644 --- a/sys/include/net/ppp/hdr.h +++ b/sys/include/net/ppp/hdr.h @@ -18,8 +18,8 @@ * @author José Ignacio Alamos */ -#ifndef PPP_HDR_H -#define PPP_HDR_H +#ifndef NET_PPP_HDR_H +#define NET_PPP_HDR_H #include @@ -63,5 +63,5 @@ typedef struct __attribute__((packed)){ } #endif -#endif /* PPP_HDR_H */ +#endif /* NET_PPP_HDR_H */ /** @} */ diff --git a/sys/include/net/ppptype.h b/sys/include/net/ppptype.h index 69d23c51fa..067baa283c 100644 --- a/sys/include/net/ppptype.h +++ b/sys/include/net/ppptype.h @@ -24,8 +24,8 @@ */ -#ifndef PPPTYPE_H -#define PPPTYPE_H +#ifndef NET_PPPTYPE_H +#define NET_PPPTYPE_H #ifdef __cplusplus extern "C" { @@ -44,7 +44,7 @@ extern "C" { } #endif -#endif /* PPPTYPE_H */ +#endif /* NET_PPPTYPE_H */ /** * @} */ diff --git a/sys/include/net/protnum.h b/sys/include/net/protnum.h index 1db38342e4..fd3800c2b2 100644 --- a/sys/include/net/protnum.h +++ b/sys/include/net/protnum.h @@ -23,8 +23,8 @@ * * @author Martine Lenders */ -#ifndef PROTNUM_H -#define PROTNUM_H +#ifndef NET_PROTNUM_H +#define NET_PROTNUM_H #ifdef __cplusplus @@ -182,5 +182,5 @@ extern "C" { } #endif -#endif /* PROTNUM_H */ +#endif /* NET_PROTNUM_H */ /** @} */ diff --git a/sys/include/net/rpl/rpl_netstats.h b/sys/include/net/rpl/rpl_netstats.h index aa670a5513..2c2b54fcd3 100644 --- a/sys/include/net/rpl/rpl_netstats.h +++ b/sys/include/net/rpl/rpl_netstats.h @@ -20,8 +20,8 @@ #include -#ifndef NETSTATS_RPL_H -#define NETSTATS_RPL_H +#ifndef NET_RPL_RPL_NETSTATS_H +#define NET_RPL_RPL_NETSTATS_H #ifdef __cplusplus extern "C" { @@ -73,5 +73,5 @@ typedef struct { } #endif -#endif /* NETSTATS_RPL_H */ +#endif /* NET_RPL_RPL_NETSTATS_H */ /** @} */ diff --git a/sys/include/net/sixlowpan.h b/sys/include/net/sixlowpan.h index de9c54f432..236c2096fd 100644 --- a/sys/include/net/sixlowpan.h +++ b/sys/include/net/sixlowpan.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef SIXLOWPAN_H -#define SIXLOWPAN_H +#ifndef NET_SIXLOWPAN_H +#define NET_SIXLOWPAN_H #include #include @@ -261,5 +261,5 @@ void sixlowpan_print(uint8_t *data, size_t size); } #endif -#endif /* SIXLOWPAN_H */ +#endif /* NET_SIXLOWPAN_H */ /** @} */ diff --git a/sys/include/net/sixlowpan/nd.h b/sys/include/net/sixlowpan/nd.h index 30a05fb180..2edaf08ec4 100644 --- a/sys/include/net/sixlowpan/nd.h +++ b/sys/include/net/sixlowpan/nd.h @@ -19,8 +19,8 @@ * * @author Martine Lenders */ -#ifndef SIXLOWPAN_ND_H -#define SIXLOWPAN_ND_H +#ifndef NET_SIXLOWPAN_ND_H +#define NET_SIXLOWPAN_ND_H #include @@ -227,5 +227,5 @@ static inline void sixlowpan_nd_opt_6ctx_set_cid(sixlowpan_nd_opt_6ctx_t *ctx_op } #endif -#endif /* SIXLOWPAN_ND_H */ +#endif /* NET_SIXLOWPAN_ND_H */ /** @} */ diff --git a/sys/include/net/sntp.h b/sys/include/net/sntp.h index 8e8d80a8ac..b3f4041ee4 100644 --- a/sys/include/net/sntp.h +++ b/sys/include/net/sntp.h @@ -20,8 +20,8 @@ * @author Martine Lenders */ -#ifndef SNTP_H -#define SNTP_H +#ifndef NET_SNTP_H +#define NET_SNTP_H #include #include @@ -66,5 +66,5 @@ static inline uint64_t sntp_get_unix_usec(void) } #endif -#endif /* SNTP_H */ +#endif /* NET_SNTP_H */ /** @} */ diff --git a/sys/include/net/sock/dns.h b/sys/include/net/sock/dns.h index c2acf2fe62..d8417888b5 100644 --- a/sys/include/net/sock/dns.h +++ b/sys/include/net/sock/dns.h @@ -20,8 +20,8 @@ * @author Kaspar Schleiser */ -#ifndef SOCK_DNS_H -#define SOCK_DNS_H +#ifndef NET_SOCK_DNS_H +#define NET_SOCK_DNS_H #include #include @@ -94,5 +94,5 @@ extern sock_udp_ep_t sock_dns_server; } #endif -#endif /* SOCK_DNS_H */ +#endif /* NET_SOCK_DNS_H */ /** @} */ diff --git a/sys/include/net/sock/util.h b/sys/include/net/sock/util.h index 6001481ed0..950039083a 100644 --- a/sys/include/net/sock/util.h +++ b/sys/include/net/sock/util.h @@ -20,8 +20,8 @@ * @author Kaspar Schleiser */ -#ifndef SOCK_UTIL_H -#define SOCK_UTIL_H +#ifndef NET_SOCK_UTIL_H +#define NET_SOCK_UTIL_H #ifdef __cplusplus extern "C" { @@ -87,5 +87,5 @@ int sock_udp_str2ep(sock_udp_ep_t *ep_out, const char *str); } #endif -#endif /* SOCK_UTIL_H */ +#endif /* NET_SOCK_UTIL_H */ /** @} */ diff --git a/sys/include/net/tcp.h b/sys/include/net/tcp.h index c206fd9f34..1eb0ee1fed 100644 --- a/sys/include/net/tcp.h +++ b/sys/include/net/tcp.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef TCP_H -#define TCP_H +#ifndef NET_TCP_H +#define NET_TCP_H #include "byteorder.h" @@ -86,5 +86,5 @@ void tcp_hdr_print(tcp_hdr_t *hdr); } #endif -#endif /* TCP_H */ +#endif /* NET_TCP_H */ /** @} */ diff --git a/sys/include/net/udp.h b/sys/include/net/udp.h index 8d3b5cd082..164e5165fb 100644 --- a/sys/include/net/udp.h +++ b/sys/include/net/udp.h @@ -20,8 +20,8 @@ * * @author Martine Lenders */ -#ifndef UDP_H -#define UDP_H +#ifndef NET_UDP_H +#define NET_UDP_H #include "byteorder.h" @@ -50,5 +50,5 @@ void udp_hdr_print(udp_hdr_t *hdr); } #endif -#endif /* UDP_H */ +#endif /* NET_UDP_H */ /** @} */ diff --git a/sys/include/net/uhcp.h b/sys/include/net/uhcp.h index 1f8c21d358..1baecf734a 100644 --- a/sys/include/net/uhcp.h +++ b/sys/include/net/uhcp.h @@ -18,8 +18,8 @@ * @author Kaspar Schleiser */ -#ifndef UHCP_H -#define UHCP_H +#ifndef NET_UHCP_H +#define NET_UHCP_H #include #include @@ -175,5 +175,5 @@ int udp_sendto(uint8_t *buf, size_t len, uint8_t *dst, uint16_t dst_port, uhcp_i } #endif -#endif /* UHCP_H */ +#endif /* NET_UHCP_H */ /** @} */ diff --git a/sys/include/phydat.h b/sys/include/phydat.h index 0a8162c550..99d82f9abe 100644 --- a/sys/include/phydat.h +++ b/sys/include/phydat.h @@ -32,8 +32,8 @@ * @author Hauke Petersen */ -#ifndef SECT_DATA_H -#define SECT_DATA_H +#ifndef PHYDAT_H +#define PHYDAT_H #include #include @@ -171,5 +171,5 @@ char phydat_scale_to_str(int8_t scale); } #endif -#endif /* SECT_DATA_H */ +#endif /* PHYDAT_H */ /** @} */ diff --git a/sys/include/pipe.h b/sys/include/pipe.h index 6e91b26943..c111ee37c3 100644 --- a/sys/include/pipe.h +++ b/sys/include/pipe.h @@ -32,8 +32,8 @@ * @author René Kijewski */ -#ifndef PIPE__H -#define PIPE__H +#ifndef PIPE_H +#define PIPE_H #include @@ -121,7 +121,7 @@ void pipe_free(pipe_t *rp); } #endif -#endif /* PIPE__H */ +#endif /* PIPE_H */ /** * @} */ diff --git a/sys/include/pm_layered.h b/sys/include/pm_layered.h index 9e99ac94fb..5f4d813566 100644 --- a/sys/include/pm_layered.h +++ b/sys/include/pm_layered.h @@ -72,5 +72,5 @@ void pm_set(unsigned mode); } #endif -#endif /* __PM_LAYERED_H */ +#endif /* PM_LAYERED_H */ /** @} */ diff --git a/sys/include/tm.h b/sys/include/tm.h index 005eb0d509..d2a195de28 100644 --- a/sys/include/tm.h +++ b/sys/include/tm.h @@ -14,8 +14,8 @@ * @brief Utility library for `struct tm`. */ -#ifndef SYS__TIMEX__TM__H -#define SYS__TIMEX__TM__H +#ifndef TM_H +#define TM_H #include #include @@ -119,5 +119,5 @@ int tm_is_valid_time(int hour, int min, int sec) CONST; } #endif -#endif /* SYS__TIMEX__TM__H */ +#endif /* TM_H */ /** @} */ diff --git a/sys/include/ubjson.h b/sys/include/ubjson.h index 431fd1f1f9..fad8544fa1 100644 --- a/sys/include/ubjson.h +++ b/sys/include/ubjson.h @@ -28,8 +28,8 @@ * @author René Kijewski */ -#ifndef UBJSON_H__ -#define UBJSON_H__ +#ifndef UBJSON_H +#define UBJSON_H #include #include @@ -581,5 +581,5 @@ ssize_t ubjson_close_object(ubjson_cookie_t *__restrict cookie); } #endif -#endif /* ifndef UBJSON_H__ */ +#endif /* UBJSON_H */ /** @} */ diff --git a/sys/include/vfs.h b/sys/include/vfs.h index 1862051042..9b2beac45f 100644 --- a/sys/include/vfs.h +++ b/sys/include/vfs.h @@ -50,8 +50,8 @@ * @author Joakim Nohlgård */ -#ifndef VFS_H_ -#define VFS_H_ +#ifndef VFS_H +#define VFS_H #include /* The stdatomic.h in GCC gives compilation errors with C++ @@ -830,6 +830,6 @@ const vfs_mount_t *vfs_iterate_mounts(const vfs_mount_t *cur); } #endif -#endif +#endif /* VFS_H */ /** @} */ diff --git a/sys/include/xtimer/tick_conversion.h b/sys/include/xtimer/tick_conversion.h index 7ceb77e059..df989a2ce2 100644 --- a/sys/include/xtimer/tick_conversion.h +++ b/sys/include/xtimer/tick_conversion.h @@ -135,4 +135,4 @@ inline static uint64_t _xtimer_usec_from_ticks64(uint64_t ticks) { } #endif -#endif +#endif /* XTIMER_TICK_CONVERSION_H */ diff --git a/sys/libc/include/sys/uio.h b/sys/libc/include/sys/uio.h index c3e4d8e234..ecf2327f0a 100644 --- a/sys/libc/include/sys/uio.h +++ b/sys/libc/include/sys/uio.h @@ -17,8 +17,8 @@ * * @author Kaspar Schleiser */ -#ifndef UIO_H -#define UIO_H +#ifndef SYS_UIO_H +#define SYS_UIO_H #include #include @@ -39,4 +39,4 @@ struct iovec { } #endif /** @} */ -#endif /* UIO_H */ +#endif /* SYS_UIO_H */ diff --git a/sys/log/log_printfnoformat/log_module.h b/sys/log/log_printfnoformat/log_module.h index be286829dd..77cb88687d 100644 --- a/sys/log/log_printfnoformat/log_module.h +++ b/sys/log/log_printfnoformat/log_module.h @@ -20,8 +20,8 @@ * @author Kaspar Schleiser */ -#ifndef LOG_FORMAT_H -#define LOG_FORMAT_H +#ifndef LOG_MODULE_H +#define LOG_MODULE_H #include @@ -47,4 +47,4 @@ static inline void log_write(unsigned level, const char *format, ...) { } #endif /**@}*/ -#endif /* LOG_FORMAT_H */ +#endif /* LOG_MODULE_H */ diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h b/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h index c93bf58e5d..2e56a16125 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h @@ -16,8 +16,8 @@ * * @author Martine Lenders */ -#ifndef GNRC_SIXLOWPAN_FRAG_RBUF_H -#define GNRC_SIXLOWPAN_FRAG_RBUF_H +#ifndef RBUF_H +#define RBUF_H #include @@ -104,5 +104,5 @@ void rbuf_add(gnrc_netif_hdr_t *netif_hdr, gnrc_pktsnip_t *frag, } #endif -#endif /* GNRC_SIXLOWPAN_FRAG_RBUF_H */ +#endif /* RBUF_H */ /** @} */ diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h b/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h index c2fc9c3f1e..fa66537da2 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/netstats.h @@ -16,8 +16,8 @@ * @author Cenk Gündoğan */ -#ifndef RPL_NETSTATS_H -#define RPL_NETSTATS_H +#ifndef NETSTATS_H +#define NETSTATS_H #ifdef __cplusplus extern "C" { @@ -187,5 +187,5 @@ static inline void gnrc_rpl_netstats_tx_DAO_ACK(netstats_rpl_t *netstats, size_t } #endif -#endif /* RPL_NETSTATS_H */ +#endif /* NETSTATS_H */ /** @} */ diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/validation.h b/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/validation.h index cb4e555ba0..39031b8572 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/validation.h +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_internal/validation.h @@ -16,8 +16,8 @@ * @author Cenk Gündoğan */ -#ifndef GNRC_RPL_VALIDATION_H -#define GNRC_RPL_VALIDATION_H +#ifndef VALIDATION_H +#define VALIDATION_H #ifdef __cplusplus extern "C" { @@ -143,5 +143,5 @@ static inline bool gnrc_rpl_validation_DAO_ACK(gnrc_rpl_dao_ack_t *dao_ack, uint } #endif -#endif /* GNRC_RPL_VALIDATION_H */ +#endif /* VALIDATION_H */ /** @} */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/common.h b/sys/net/gnrc/transport_layer/tcp/internal/common.h index 4b5954a982..8451be756c 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/common.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/common.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_INTERNAL_COMMON_H -#define GNRC_TCP_INTERNAL_COMMON_H +#ifndef COMMON_H +#define COMMON_H #include #include "assert.h" @@ -136,5 +136,5 @@ extern mutex_t _list_tcb_lock; } #endif -#endif /* GNRC_TCP_INTERNAL_COMMON_H */ +#endif /* COMMON_H */ /** @} */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h b/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h index cbded225c9..c89189aa9e 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/eventloop.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_INTERNAL_EVENTLOOP_H -#define GNRC_TCP_INTERNAL_EVENTLOOP_H +#ifndef EVENTLOOP_H +#define 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 /* EVENTLOOP_H */ /** @} */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/fsm.h b/sys/net/gnrc/transport_layer/tcp/internal/fsm.h index f2ba7899b6..5a076f9469 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/fsm.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/fsm.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_INTERNAL_FSM_H -#define GNRC_TCP_INTERNAL_FSM_H +#ifndef FSM_H +#define FSM_H #include #include "net/gnrc/pkt.h" @@ -83,5 +83,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 /* FSM_H */ /** @} */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/option.h b/sys/net/gnrc/transport_layer/tcp/internal/option.h index 34bda4b8bf..2e611d9cdc 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/option.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/option.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_INTERNAL_OPTION_H -#define GNRC_TCP_INTERNAL_OPTION_H +#ifndef OPTION_H +#define OPTION_H #include #include "assert.h" @@ -73,5 +73,5 @@ int _option_parse(gnrc_tcp_tcb_t *tcb, tcp_hdr_t *hdr); } #endif -#endif /* GNRC_TCP_INTERNAL_OPTION_H*/ +#endif /* OPTION_H */ /** @} */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/pkt.h b/sys/net/gnrc/transport_layer/tcp/internal/pkt.h index a2f50fa7a9..e05397e9ab 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/pkt.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/pkt.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_INTERNAL_PKT_H -#define GNRC_TCP_INTERNAL_PKT_H +#ifndef PKT_H +#define PKT_H #include #include "net/gnrc/pkt.h" @@ -148,5 +148,5 @@ uint16_t _pkt_calc_csum(const gnrc_pktsnip_t *hdr, const gnrc_pktsnip_t *pseudo_ } #endif -#endif /* GNRC_TCP_INTERNAL_PKT_H */ +#endif /* PKT_H */ /** @} */ diff --git a/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h b/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h index c3b349bcad..0a603e4013 100644 --- a/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h +++ b/sys/net/gnrc/transport_layer/tcp/internal/rcvbuf.h @@ -19,8 +19,8 @@ * @author Simon Brummer */ -#ifndef GNRC_TCP_INTERNAL_RCVBUF_H -#define GNRC_TCP_INTERNAL_RCVBUF_H +#ifndef RCVBUF_H +#define RCVBUF_H #include #include "mutex.h" @@ -73,5 +73,5 @@ void _rcvbuf_release_buffer(gnrc_tcp_tcb_t *tcb); } #endif -#endif /* GNRC_TCP_INTERNAL_RCVBUF_H */ +#endif /* RCVBUF_H */ /** @} */ diff --git a/sys/posix/include/netinet/in.h b/sys/posix/include/netinet/in.h index bba7b7f018..7475b91a42 100644 --- a/sys/posix/include/netinet/in.h +++ b/sys/posix/include/netinet/in.h @@ -20,8 +20,8 @@ * * @author Martine Lenders */ -#ifndef _NETINET_IN_H -#define _NETINET_IN_H +#ifndef NETINET_IN_H +#define NETINET_IN_H #include #include @@ -271,4 +271,4 @@ extern const struct in6_addr in6addr_loopback; /** * @} */ -#endif /* _NETINET_IN_H */ +#endif /* NETINET_IN_H */ diff --git a/sys/posix/include/semaphore.h b/sys/posix/include/semaphore.h index 91dcaed3df..7205679dfa 100644 --- a/sys/posix/include/semaphore.h +++ b/sys/posix/include/semaphore.h @@ -22,8 +22,8 @@ * @author Víctor Ariño */ -#ifndef POSIX_SEMAPHORE_H -#define POSIX_SEMAPHORE_H +#ifndef SEMAPHORE_H +#define SEMAPHORE_H #include #include @@ -294,5 +294,5 @@ static inline int sem_getvalue(sem_t *sem, int *sval) } #endif -#endif /* POSIX_SEMAPHORE_H */ +#endif /* SEMAPHORE_H */ /** @} */ diff --git a/sys/posix/include/sys/bytes.h b/sys/posix/include/sys/bytes.h index 6f9734a3f8..92c386d9ba 100644 --- a/sys/posix/include/sys/bytes.h +++ b/sys/posix/include/sys/bytes.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef BYTES_H -#define BYTES_H +#ifndef SYS_BYTES_H +#define SYS_BYTES_H #include "byteorder.h" @@ -32,5 +32,5 @@ typedef size_t socklen_t; /**< socket address length */ } #endif -#endif /* BYTES_H */ +#endif /* SYS_BYTES_H */ /** @} */ diff --git a/sys/posix/include/sys/socket.h b/sys/posix/include/sys/socket.h index 1bd9ea8009..8bac3ce558 100644 --- a/sys/posix/include/sys/socket.h +++ b/sys/posix/include/sys/socket.h @@ -26,8 +26,8 @@ * * @author Martine Lenders */ -#ifndef _SYS_SOCKET_H -#define _SYS_SOCKET_H +#ifndef SYS_SOCKET_H +#define SYS_SOCKET_H #ifdef CPU_NATIVE /* Ignore Linux definitions in native */ diff --git a/sys/posix/include/sys/statvfs.h b/sys/posix/include/sys/statvfs.h index c688aa10da..1699011981 100644 --- a/sys/posix/include/sys/statvfs.h +++ b/sys/posix/include/sys/statvfs.h @@ -18,8 +18,8 @@ /* without the GCC pragma above #include_next will trigger a pedantic error */ #include_next #else -#ifndef SYS_STATVFS_H_ -#define SYS_STATVFS_H_ +#ifndef SYS_STATVFS_H +#define SYS_STATVFS_H #include /* for fsblkcnt_t, fsfilcnt_t */ /** @todo Remove ifdef __mips__ special case after @@ -71,7 +71,7 @@ enum { } #endif -#endif /* SYS_STATVFS_H_ */ +#endif /* SYS_STATVFS_H */ #endif /* CPU_NATIVE */ diff --git a/sys/posix/pthread/include/pthread.h b/sys/posix/pthread/include/pthread.h index daa6e3de3b..b83a5b1448 100644 --- a/sys/posix/pthread/include/pthread.h +++ b/sys/posix/pthread/include/pthread.h @@ -17,8 +17,8 @@ * @see [The Open Group Base Specifications Issue 7: pthread.h - threads](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html) */ -#ifndef SYS__POSIX__PTHREAD__H -#define SYS__POSIX__PTHREAD__H +#ifndef PTHREAD_H +#define PTHREAD_H #include @@ -58,7 +58,7 @@ extern "C" { } #endif -#endif /* SYS__POSIX__PTHREAD__H */ +#endif /* PTHREAD_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_barrier.h b/sys/posix/pthread/include/pthread_barrier.h index 59b3554d48..292bbf233c 100644 --- a/sys/posix/pthread/include/pthread_barrier.h +++ b/sys/posix/pthread/include/pthread_barrier.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_BARRIER__H -#define SYS__POSIX__PTHREAD_BARRIER__H +#ifndef PTHREAD_BARRIER_H +#define PTHREAD_BARRIER_H #include "mutex.h" @@ -136,7 +136,7 @@ int pthread_barrierattr_setpshared(pthread_barrierattr_t *attr, int pshared); } #endif -#endif /* SYS__POSIX__PTHREAD_BARRIER__H */ +#endif /* PTHREAD_BARRIER_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_cancellation.h b/sys/posix/pthread/include/pthread_cancellation.h index 896509820c..2f77e7a376 100644 --- a/sys/posix/pthread/include/pthread_cancellation.h +++ b/sys/posix/pthread/include/pthread_cancellation.h @@ -15,8 +15,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_CANCELLCATION__H -#define SYS__POSIX__PTHREAD_CANCELLCATION__H +#ifndef PTHREAD_CANCELLATION_H +#define PTHREAD_CANCELLATION_H #ifdef __cplusplus extern "C" { @@ -69,7 +69,7 @@ void pthread_testcancel(void); } #endif -#endif /* SYS__POSIX__PTHREAD_CANCELLCATION__H */ +#endif /* PTHREAD_CANCELLATION_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_cleanup.h b/sys/posix/pthread/include/pthread_cleanup.h index 4c17334dab..77245024a1 100644 --- a/sys/posix/pthread/include/pthread_cleanup.h +++ b/sys/posix/pthread/include/pthread_cleanup.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_CLEANUP__H -#define SYS__POSIX__PTHREAD_CLEANUP__H +#ifndef PTHREAD_CLEANUP_H +#define PTHREAD_CLEANUP_H #ifdef __cplusplus extern "C" { @@ -95,7 +95,7 @@ void __pthread_cleanup_pop(__pthread_cleanup_datum_t *datum, int execute); } #endif -#endif /* SYS__POSIX__PTHREAD_CLEANUP__H */ +#endif /* PTHREAD_CLEANUP_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_cond.h b/sys/posix/pthread/include/pthread_cond.h index 5d34d50554..a758a270c4 100644 --- a/sys/posix/pthread/include/pthread_cond.h +++ b/sys/posix/pthread/include/pthread_cond.h @@ -14,8 +14,8 @@ * @author Martin Landsmann */ -#ifndef SYS__POSIX__PTHREAD_COND__H -#define SYS__POSIX__PTHREAD_COND__H +#ifndef PTHREAD_COND_H +#define PTHREAD_COND_H #include #include "mutex.h" @@ -150,7 +150,7 @@ int pthread_cond_broadcast(pthread_cond_t *cond); } #endif -#endif /* SYS__POSIX__PTHREAD_COND__H */ +#endif /* PTHREAD_COND_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_mutex.h b/sys/posix/pthread/include/pthread_mutex.h index 6b4bc20d71..66dea47a77 100644 --- a/sys/posix/pthread/include/pthread_mutex.h +++ b/sys/posix/pthread/include/pthread_mutex.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_MUTEX__H -#define SYS__POSIX__PTHREAD_MUTEX__H +#ifndef PTHREAD_MUTEX_H +#define PTHREAD_MUTEX_H #include @@ -112,7 +112,7 @@ int pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int prioceiling, int *o } #endif -#endif /* SYS__POSIX__PTHREAD_MUTEX__H */ +#endif /* PTHREAD_MUTEX_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_mutex_attr.h b/sys/posix/pthread/include/pthread_mutex_attr.h index e3e7be1c8d..5002c878c7 100644 --- a/sys/posix/pthread/include/pthread_mutex_attr.h +++ b/sys/posix/pthread/include/pthread_mutex_attr.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_MUTEX_ATTR__H -#define SYS__POSIX__PTHREAD_MUTEX_ATTR__H +#ifndef PTHREAD_MUTEX_ATTR_H +#define PTHREAD_MUTEX_ATTR_H #include @@ -215,7 +215,7 @@ int pthread_mutexattr_setrobust(pthread_mutexattr_t *attr, int robustness); } #endif -#endif /* SYS__POSIX__PTHREAD_MUTEX_ATTR__H */ +#endif /* PTHREAD_MUTEX_ATTR_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_once.h b/sys/posix/pthread/include/pthread_once.h index c59586d6ec..6c01a4a175 100644 --- a/sys/posix/pthread/include/pthread_once.h +++ b/sys/posix/pthread/include/pthread_once.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_ONCE__H -#define SYS__POSIX__PTHREAD_ONCE__H +#ifndef PTHREAD_ONCE_H +#define PTHREAD_ONCE_H #ifdef __cplusplus extern "C" { @@ -48,7 +48,7 @@ int pthread_once(pthread_once_t *once_control, void (*init_routine)(void)); } #endif -#endif /* SYS__POSIX__PTHREAD_ONCE__H */ +#endif /* PTHREAD_ONCE_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_rwlock.h b/sys/posix/pthread/include/pthread_rwlock.h index 7c0c945a1d..d021c0af3a 100644 --- a/sys/posix/pthread/include/pthread_rwlock.h +++ b/sys/posix/pthread/include/pthread_rwlock.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_RWLOCK__H -#define SYS__POSIX__PTHREAD_RWLOCK__H +#ifndef PTHREAD_RWLOCK_H +#define PTHREAD_RWLOCK_H #include "priority_queue.h" #include "thread.h" @@ -176,7 +176,7 @@ bool __pthread_rwlock_blocked_writingly(const pthread_rwlock_t *rwlock); } #endif -#endif /* SYS__POSIX__PTHREAD_ONCE__H */ +#endif /* PTHREAD_RWLOCK_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_rwlock_attr.h b/sys/posix/pthread/include/pthread_rwlock_attr.h index fc987a8e58..17723995d1 100644 --- a/sys/posix/pthread/include/pthread_rwlock_attr.h +++ b/sys/posix/pthread/include/pthread_rwlock_attr.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_RWLOCK_ATTR__H -#define SYS__POSIX__PTHREAD_RWLOCK_ATTR__H +#ifndef PTHREAD_RWLOCK_ATTR_H +#define PTHREAD_RWLOCK_ATTR_H #include @@ -80,7 +80,7 @@ int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared); } #endif -#endif /* SYS__POSIX__PTHREAD_RWLOCK_ATTR__H */ +#endif /* PTHREAD_RWLOCK_ATTR_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_scheduling.h b/sys/posix/pthread/include/pthread_scheduling.h index cd92ee4900..569c7fe9c4 100644 --- a/sys/posix/pthread/include/pthread_scheduling.h +++ b/sys/posix/pthread/include/pthread_scheduling.h @@ -15,8 +15,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_SCHEDULING__H -#define SYS__POSIX__PTHREAD_SCHEDULING__H +#ifndef PTHREAD_SCHEDULING_H +#define PTHREAD_SCHEDULING_H #ifdef __cplusplus extern "C" { @@ -55,7 +55,7 @@ int pthread_setschedprio(pthread_t target_thread, int prio); } #endif -#endif /* SYS__POSIX__PTHREAD_SCHEDULING__H */ +#endif /* PTHREAD_SCHEDULING_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_spin.h b/sys/posix/pthread/include/pthread_spin.h index e744625e34..780494a5b6 100644 --- a/sys/posix/pthread/include/pthread_spin.h +++ b/sys/posix/pthread/include/pthread_spin.h @@ -17,8 +17,8 @@ * Use irq_disable() and irq_restore() for shortterm locks instead. */ -#ifndef SYS_POSIX_PTHREAD_SPIN_H -#define SYS_POSIX_PTHREAD_SPIN_H +#ifndef PTHREAD_SPIN_H +#define PTHREAD_SPIN_H #include @@ -91,7 +91,7 @@ int pthread_spin_unlock(pthread_spinlock_t *lock); } #endif -#endif /* SYS_POSIX_PTHREAD_SPIN_H */ +#endif /* PTHREAD_SPIN_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_threading.h b/sys/posix/pthread/include/pthread_threading.h index 456e2ec769..1736f38d6a 100644 --- a/sys/posix/pthread/include/pthread_threading.h +++ b/sys/posix/pthread/include/pthread_threading.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_THREADING__H -#define SYS__POSIX__PTHREAD_THREADING__H +#ifndef PTHREAD_THREADING_H +#define PTHREAD_THREADING_H #include "kernel_defines.h" @@ -107,7 +107,7 @@ static inline int pthread_equal(pthread_t thread1, pthread_t thread2) } #endif -#endif /* SYS__POSIX__PTHREAD_THREADING__H */ +#endif /* PTHREAD_THREADING_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_threading_attr.h b/sys/posix/pthread/include/pthread_threading_attr.h index 302c5e5685..1e73f3ee96 100644 --- a/sys/posix/pthread/include/pthread_threading_attr.h +++ b/sys/posix/pthread/include/pthread_threading_attr.h @@ -14,8 +14,8 @@ * @note Do not include this header file directly, but pthread.h. */ -#ifndef SYS__POSIX__PTHREAD_THREADING_ATTR__H -#define SYS__POSIX__PTHREAD_THREADING_ATTR__H +#ifndef PTHREAD_THREADING_ATTR_H +#define PTHREAD_THREADING_ATTR_H #ifdef __cplusplus extern "C" { @@ -206,7 +206,7 @@ int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); } #endif -#endif /* SYS__POSIX__PTHREAD_THREADING_ATTR__H */ +#endif /* PTHREAD_THREADING_ATTR_H */ /** * @} diff --git a/sys/posix/pthread/include/pthread_tls.h b/sys/posix/pthread/include/pthread_tls.h index 93b119767c..644c5c173e 100644 --- a/sys/posix/pthread/include/pthread_tls.h +++ b/sys/posix/pthread/include/pthread_tls.h @@ -15,8 +15,8 @@ * @author René Kijewski */ -#ifndef SYS__POSIX__PTHREAD_TLS__H -#define SYS__POSIX__PTHREAD_TLS__H +#ifndef PTHREAD_TLS_H +#define PTHREAD_TLS_H #ifdef __cplusplus extern "C" { @@ -87,7 +87,7 @@ struct __pthread_tls_datum **__pthread_get_tls_head(int self_id) PURE; } #endif -#endif /* SYS__POSIX__PTHREAD_TLS__H */ +#endif /* PTHREAD_TLS_H */ /** * @} diff --git a/sys/random/tinymt32/tinymt32.h b/sys/random/tinymt32/tinymt32.h index 1b483fd99b..87881b3950 100644 --- a/sys/random/tinymt32/tinymt32.h +++ b/sys/random/tinymt32/tinymt32.h @@ -230,4 +230,4 @@ inline static double tinymt32_generate_32double(tinymt32_t *random) } #endif -#endif +#endif /* TINYMT32_H */ diff --git a/sys/ubjson/ubjson-internal.h b/sys/ubjson/ubjson-internal.h index 641bd9bf64..01cdb564ca 100644 --- a/sys/ubjson/ubjson-internal.h +++ b/sys/ubjson/ubjson-internal.h @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef UBJSON__INTERNAL_H__ -#define UBJSON__INTERNAL_H__ +#ifndef UBJSON_INTERNAL_H +#define UBJSON_INTERNAL_H /* compare http://ubjson.org/type-reference/ */ @@ -59,4 +59,4 @@ typedef enum { } #endif -#endif /* ifndef UBJSON__INTERNAL_H__ */ +#endif /* UBJSON_INTERNAL_H */ diff --git a/tests/emb6/common.h b/tests/emb6/common.h index 8e873cd17a..178aa5adb0 100644 --- a/tests/emb6/common.h +++ b/tests/emb6/common.h @@ -15,8 +15,8 @@ * * @author Martine Lenders */ -#ifndef MAIN_H -#define MAIN_H +#ifndef COMMON_H +#define COMMON_H #include #include @@ -75,5 +75,5 @@ int udp_cmd(int argc, char **argv); } #endif -#endif /* MAIN_H */ +#endif /* COMMON_H */ /** @} */ diff --git a/tests/lwip/common.h b/tests/lwip/common.h index de2d4db240..4cea2573df 100644 --- a/tests/lwip/common.h +++ b/tests/lwip/common.h @@ -15,8 +15,8 @@ * * @author Martine Lenders */ -#ifndef MAIN_H -#define MAIN_H +#ifndef COMMON_H +#define COMMON_H #include #include @@ -90,5 +90,5 @@ int udp_cmd(int argc, char **argv); } #endif -#endif /* MAIN_H */ +#endif /* COMMON_H */ /** @} */ diff --git a/tests/lwip_sock_tcp/constants.h b/tests/lwip_sock_tcp/constants.h index 1d768d2e22..d6637689c0 100644 --- a/tests/lwip_sock_tcp/constants.h +++ b/tests/lwip_sock_tcp/constants.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef CONSTANTS_H_ -#define CONSTANTS_H_ +#ifndef CONSTANTS_H +#define CONSTANTS_H #ifdef __cplusplus @@ -45,5 +45,5 @@ extern "C" { } #endif -#endif /* CONSTANTS_H_ */ +#endif /* CONSTANTS_H */ /** @} */ diff --git a/tests/lwip_sock_tcp/stack.h b/tests/lwip_sock_tcp/stack.h index 57221f65d6..c3fccf8e22 100644 --- a/tests/lwip_sock_tcp/stack.h +++ b/tests/lwip_sock_tcp/stack.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef STACK_H_ -#define STACK_H_ +#ifndef STACK_H +#define STACK_H #ifdef __cplusplus extern "C" { @@ -33,5 +33,5 @@ void _net_init(void); } #endif -#endif /* STACK_H_ */ +#endif /* STACK_H */ /** @} */ diff --git a/tests/lwip_sock_udp/constants.h b/tests/lwip_sock_udp/constants.h index 86525107b7..f3e251766e 100644 --- a/tests/lwip_sock_udp/constants.h +++ b/tests/lwip_sock_udp/constants.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef CONSTANTS_H_ -#define CONSTANTS_H_ +#ifndef CONSTANTS_H +#define CONSTANTS_H #ifdef __cplusplus @@ -45,5 +45,5 @@ extern "C" { } #endif -#endif /* CONSTANTS_H_ */ +#endif /* CONSTANTS_H */ /** @} */ diff --git a/tests/lwip_sock_udp/stack.h b/tests/lwip_sock_udp/stack.h index 3f856f2a88..c428faeb04 100644 --- a/tests/lwip_sock_udp/stack.h +++ b/tests/lwip_sock_udp/stack.h @@ -17,8 +17,8 @@ * * @author Martine Lenders */ -#ifndef STACK_H_ -#define STACK_H_ +#ifndef STACK_H +#define STACK_H #include #include @@ -129,5 +129,5 @@ bool _check_6packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, } #endif -#endif /* STACK_H_ */ +#endif /* STACK_H */ /** @} */ diff --git a/tests/unittests/map.h b/tests/unittests/map.h index 13bf1e107d..c9eaa167d0 100644 --- a/tests/unittests/map.h +++ b/tests/unittests/map.h @@ -26,8 +26,8 @@ * prior written authorization from the authors. */ -#ifndef UNITTESTS_MAP_H -#define UNITTESTS_MAP_H +#ifndef MAP_H +#define MAP_H #ifdef __cplusplus extern "C" { @@ -56,4 +56,4 @@ extern "C" { } #endif -#endif /* UNITTESTS_MAP_H */ +#endif /* MAP_H */ diff --git a/tests/unittests/tests-fib_sr/tests-fib_sr.h b/tests/unittests/tests-fib_sr/tests-fib_sr.h index 21dab5d81d..0d3e6d27f1 100644 --- a/tests/unittests/tests-fib_sr/tests-fib_sr.h +++ b/tests/unittests/tests-fib_sr/tests-fib_sr.h @@ -15,8 +15,8 @@ * * @author Martin Landsmann */ -#ifndef TESTS_FIB_H -#define TESTS_FIB_H +#ifndef TESTS_FIB_SR_H +#define TESTS_FIB_SR_H #include "embUnit/embUnit.h" #ifdef __cplusplus @@ -39,5 +39,5 @@ Test *tests_fib_sr_tests(void); } #endif -#endif /* TESTS_FIB_H */ +#endif /* TESTS_FIB_SR_H */ /** @} */ diff --git a/tests/unittests/tests-flashpage/tests-flashpage.h b/tests/unittests/tests-flashpage/tests-flashpage.h index 0db64906fa..94db92a901 100644 --- a/tests/unittests/tests-flashpage/tests-flashpage.h +++ b/tests/unittests/tests-flashpage/tests-flashpage.h @@ -15,8 +15,8 @@ * * @author Hauke Petersen */ -#ifndef TESTS_FLASHPAGE_H_ -#define TESTS_FLASHPAGE_H_ +#ifndef TESTS_FLASHPAGE_H +#define TESTS_FLASHPAGE_H #include "embUnit.h" @@ -33,5 +33,5 @@ void tests_flashpage(void); } #endif -#endif /* TESTS_FLASHPAGE_H_ */ +#endif /* TESTS_FLASHPAGE_H */ /** @} */ diff --git a/tests/unittests/tests-gnrc_mac_internal/tests-gnrc_mac_internal.h b/tests/unittests/tests-gnrc_mac_internal/tests-gnrc_mac_internal.h index 3ff0240d26..2a8feb22f4 100644 --- a/tests/unittests/tests-gnrc_mac_internal/tests-gnrc_mac_internal.h +++ b/tests/unittests/tests-gnrc_mac_internal/tests-gnrc_mac_internal.h @@ -15,8 +15,8 @@ * * @author Shuguo Zhuo */ -#ifndef TESTS_PRIORITY_PKTQUEUE_H -#define TESTS_PRIORITY_PKTQUEUE_H +#ifndef TESTS_GNRC_MAC_INTERNAL_H +#define TESTS_GNRC_MAC_INTERNAL_H #include "embUnit.h" @@ -33,5 +33,5 @@ void tests_gnrc_mac_internal(void); } #endif -#endif /* TESTS_PRIORITY_PKTQUEUE_H */ +#endif /* TESTS_GNRC_MAC_INTERNAL_H */ /** @} */ diff --git a/tests/unittests/tests-hashes/tests-hashes.h b/tests/unittests/tests-hashes/tests-hashes.h index 3e5a35bdea..f72c4f9441 100644 --- a/tests/unittests/tests-hashes/tests-hashes.h +++ b/tests/unittests/tests-hashes/tests-hashes.h @@ -76,5 +76,5 @@ Test *tests_hashes_sha256_chain_tests(void); } #endif -#endif /* TESTS_CRYPTO_H */ +#endif /* TESTS_HASHES_H */ /** @} */ From 60fb6d2d50c9f940b68bca6e77d9dc02299f429b Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 24 May 2017 11:15:43 +0200 Subject: [PATCH 5/5] dist: tools: changed_files.sh: add msba2 tools to exclude list --- dist/tools/ci/changed_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/tools/ci/changed_files.sh b/dist/tools/ci/changed_files.sh index df255b2802..1be9a04d61 100644 --- a/dist/tools/ci/changed_files.sh +++ b/dist/tools/ci/changed_files.sh @@ -8,7 +8,7 @@ changed_files() { : ${FILEREGEX:='\.([CcHh]|[ch]pp)$'} - : ${EXCLUDE:='^(.+/include/vendor/|dist/tools/coccinelle/include)'} + : ${EXCLUDE:='^(.+/include/vendor/|dist/tools/coccinelle/include|boards/msba2-common/tools/src)'} : ${DIFFFILTER:='ACMR'} DIFFFILTER="--diff-filter=${DIFFFILTER}"