Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94f01eed authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Simon Wunderlich
Browse files

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: default avatarSven Eckelmann <sven@narfation.org>
Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
parent be01dc33
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -16,11 +16,11 @@
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 */


#ifndef _BATMAN_ADV_BATADV_IV_OGM_H_
#ifndef _NET_BATMAN_ADV_BAT_IV_OGM_H_
#define _BATMAN_ADV_BATADV_IV_OGM_H_
#define _NET_BATMAN_ADV_BAT_IV_OGM_H_


#include "main.h"
#include "main.h"


int batadv_iv_init(void);
int batadv_iv_init(void);


#endif /* _BATMAN_ADV_BATADV_IV_OGM_H_ */
#endif /* _NET_BATMAN_ADV_BAT_IV_OGM_H_ */
+3 −3
Original line number Original line Diff line number Diff line
@@ -16,8 +16,8 @@
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 */


#ifndef _BATMAN_ADV_BATADV_V_OGM_H_
#ifndef _NET_BATMAN_ADV_BAT_V_OGM_H_
#define _BATMAN_ADV_BATADV_V_OGM_H_
#define _NET_BATMAN_ADV_BAT_V_OGM_H_


#include "main.h"
#include "main.h"


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


#endif /* _BATMAN_ADV_BATADV_V_OGM_H_ */
#endif /* _NET_BATMAN_ADV_BAT_V_OGM_H_ */