Skip to content

Commit 94f01ee

Browse files
ecsvsimonwunderlich
authored andcommitted
batman-adv: Unify include guards style
All other include guards in batman-adv use the style: * _NET_BATMAN_ADV_$(FILENAME)_ * uppercase only * "." & "-" replaced with "_" Use this also in the B.A.T.M.A.N. IV/V OGM implementation headers. Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
1 parent be01dc3 commit 94f01ee

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

net/batman-adv/bat_iv_ogm.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
* along with this program; if not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef _BATMAN_ADV_BATADV_IV_OGM_H_
20-
#define _BATMAN_ADV_BATADV_IV_OGM_H_
19+
#ifndef _NET_BATMAN_ADV_BAT_IV_OGM_H_
20+
#define _NET_BATMAN_ADV_BAT_IV_OGM_H_
2121

2222
#include "main.h"
2323

2424
int batadv_iv_init(void);
2525

26-
#endif /* _BATMAN_ADV_BATADV_IV_OGM_H_ */
26+
#endif /* _NET_BATMAN_ADV_BAT_IV_OGM_H_ */

net/batman-adv/bat_v_ogm.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* along with this program; if not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef _BATMAN_ADV_BATADV_V_OGM_H_
20-
#define _BATMAN_ADV_BATADV_V_OGM_H_
19+
#ifndef _NET_BATMAN_ADV_BAT_V_OGM_H_
20+
#define _NET_BATMAN_ADV_BAT_V_OGM_H_
2121

2222
#include "main.h"
2323

@@ -34,4 +34,4 @@ void batadv_v_ogm_primary_iface_set(struct batadv_hard_iface *primary_iface);
3434
int batadv_v_ogm_packet_recv(struct sk_buff *skb,
3535
struct batadv_hard_iface *if_incoming);
3636

37-
#endif /* _BATMAN_ADV_BATADV_V_OGM_H_ */
37+
#endif /* _NET_BATMAN_ADV_BAT_V_OGM_H_ */

0 commit comments

Comments
 (0)