mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #2835 from authmillenon/unittests/fix/header-guards
unittests: fix and unify header guards
This commit is contained in:
commit
2dc33f138b
@ -26,8 +26,8 @@
|
||||
* prior written authorization from the authors.
|
||||
*/
|
||||
|
||||
#ifndef MAP_H_INCLUDED
|
||||
#define MAP_H_INCLUDED
|
||||
#ifndef UNITTESTS_MAP_H_
|
||||
#define UNITTESTS_MAP_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -56,4 +56,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* UNITTESTS_MAP_H_ */
|
||||
|
@ -6,6 +6,9 @@
|
||||
* directory for more details.
|
||||
*/
|
||||
|
||||
#ifndef TESTS_BLOOM_SETS_H_
|
||||
#define TESTS_BLOOM_SETS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -1030,3 +1033,4 @@ const char* const B[10] = {"interbedded"
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* TESTS_BLOOM_SETS_H_ */
|
||||
|
@ -15,8 +15,8 @@
|
||||
*
|
||||
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||
*/
|
||||
#ifndef TESTS_NETREG_H_
|
||||
#define TESTS_NETREG_H_
|
||||
#ifndef TESTS_IPV6_NC_H_
|
||||
#define TESTS_IPV6_NC_H_
|
||||
|
||||
#include "embUnit.h"
|
||||
|
||||
@ -33,5 +33,5 @@ void tests_ipv6_nc(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* TESTS_NETREG_H_ */
|
||||
#endif /* TESTS_IPV6_NC_H_ */
|
||||
/** @} */
|
||||
|
@ -15,8 +15,8 @@
|
||||
*
|
||||
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||
*/
|
||||
#ifndef TESTS_PKTBUF_H_
|
||||
#define TESTS_PKTBUF_H_
|
||||
#ifndef TESTS_NETIF_H_
|
||||
#define TESTS_NETIF_H_
|
||||
|
||||
#include "embUnit.h"
|
||||
|
||||
@ -33,5 +33,5 @@ void tests_netif(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* TESTS_PKTBUF_H_ */
|
||||
#endif /* TESTS_NETIF_H_ */
|
||||
/** @} */
|
||||
|
@ -15,8 +15,8 @@
|
||||
*
|
||||
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||
*/
|
||||
#ifndef TESTS_PKTBUF_H_
|
||||
#define TESTS_PKTBUF_H_
|
||||
#ifndef TESTS_PKT_H_
|
||||
#define TESTS_PKT_H_
|
||||
|
||||
#include "embUnit.h"
|
||||
|
||||
@ -33,5 +33,5 @@ void tests_pkt(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* TESTS_PKTBUF_H_ */
|
||||
#endif /* TESTS_PKT_H_ */
|
||||
/** @} */
|
||||
|
@ -26,8 +26,8 @@
|
||||
* @author René Kijewski <rene.kijewski@fu-berlin.de>
|
||||
*/
|
||||
|
||||
#ifndef TESTS__UBJSON_H__
|
||||
#define TESTS__UBJSON_H__
|
||||
#ifndef TESTS_UBJSON_H_
|
||||
#define TESTS_UBJSON_H_
|
||||
|
||||
#include "embUnit.h"
|
||||
|
||||
@ -49,5 +49,5 @@ void test_ubjson_empty_object(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ifndef TESTS__UBJSON_H__ */
|
||||
#endif /* TESTS_UBJSON_H_ */
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user