Skip to content

Commit

Permalink
FW-867. Update header guards
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyClaeys committed Jun 25, 2020
1 parent 1fe511f commit ae4dc09
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions openstack/cross-layers/openrandom.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __OPENRANDOM_H
#define __OPENRANDOM_H
#ifndef OPENWSN_OPENRANDOM_H
#define OPENWSN_OPENRANDOM_H

/**
\addtogroup cross-layers
Expand Down Expand Up @@ -33,4 +33,4 @@ uint16_t openrandom_getRandomizePeriod(uint16_t period, uint16_t range);
\}
*/

#endif
#endif /* OPENWSN_OPENRANDOM_H */
6 changes: 3 additions & 3 deletions openweb/opencoap/cborencoder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _CBORENCODER_H
#define _CBORENCODER_H
#ifndef OPENWSN_CBORENCODER_H
#define OPENWSN_CBORENCODER_H

#include "opendefs.h"

Expand All @@ -16,4 +16,4 @@ uint8_t cborencoder_put_array(uint8_t *buffer, uint8_t elements);

uint8_t cborencoder_put_map(uint8_t *buffer, uint8_t elements);

#endif /* _CBORENCODER_H */
#endif /* OPENWSN_CBORENCODER_H */
6 changes: 3 additions & 3 deletions openweb/opencoap/coap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __COAP_H
#define __COAP_H
#ifndef OPENWSN_COAP_H
#define OPENWSN_COAP_H

/**
\addtogroup Transport
Expand Down Expand Up @@ -261,4 +261,4 @@ uint8_t coap_find_option(coap_option_iht *array, uint8_t arrayLen, coap_option_t
\}
*/

#endif
#endif /* OPENWSN_COAP_H */
6 changes: 3 additions & 3 deletions openweb/opencoap/oscore.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __OPENOSCOAP_H
#define __OPENOSCOAP_H
#ifndef OPENWSN_OSCORE_H
#define OPENWSN_OSCORE_H

/**
\addtogroup Transport
Expand Down Expand Up @@ -77,4 +77,4 @@ uint8_t oscore_parse_compressed_COSE(uint8_t *buffer,
\}
*/

#endif
#endif /* OPENWSN_OSCORE_H*/
2 changes: 1 addition & 1 deletion openweb/openweb.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "coap.h"
#endif

void openweb_init() {
void openweb_init(void) {

#if defined(OPENWSN_COAP_C)
coap_init();
Expand Down
6 changes: 3 additions & 3 deletions openweb/openweb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __OPENCOAP_H
#define __OPENCOAP_H
#ifndef OPENWSN_OPENWEB_H
#define OPENWSN_OPENWEB_H

//=========================== define ==========================================

Expand All @@ -11,4 +11,4 @@

void openweb_init(void);

#endif /* __OPENCOAP_H */
#endif /* OPENWSN_OPENWEB_H */

0 comments on commit ae4dc09

Please sign in to comment.