summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-28 20:32:05 +0000
committerglebius <glebius@FreeBSD.org>2013-10-28 20:32:05 +0000
commit67835727b43f038edc5165ef54ae93ae77959d5d (patch)
tree5057436e74e8498242d4445b2b3c55b3a20bcccb /sys/net/if_var.h
parentfc685e71b447338c2f9b8ee4d9e86240a9402d16 (diff)
downloadFreeBSD-src-67835727b43f038edc5165ef54ae93ae77959d5d.zip
FreeBSD-src-67835727b43f038edc5165ef54ae93ae77959d5d.tar.gz
Style: s/SYS_EVENTHANDLER_H/_SYS_EVENTHANDLER_H_/g
Submitted by: bde
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index c4a02ca..b81c0c9 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -353,7 +353,7 @@ void if_maddr_runlock(struct ifnet *ifp); /* if_multiaddrs */
} while(0)
#ifdef _KERNEL
-#ifdef SYS_EVENTHANDLER_H
+#ifdef _SYS_EVENTHANDLER_H_
/* interface link layer address change event */
typedef void (*iflladdr_event_handler_t)(void *, struct ifnet *);
EVENTHANDLER_DECLARE(iflladdr_event, iflladdr_event_handler_t);
@@ -369,7 +369,7 @@ EVENTHANDLER_DECLARE(ifnet_departure_event, ifnet_departure_event_handler_t);
/* Interface link state change event */
typedef void (*ifnet_link_event_handler_t)(void *, struct ifnet *, int);
EVENTHANDLER_DECLARE(ifnet_link_event, ifnet_link_event_handler_t);
-#endif /* SYS_EVENTHANDLER_H */
+#endif /* _SYS_EVENTHANDLER_H_ */
/*
* interface groups
@@ -392,7 +392,7 @@ struct ifg_list {
TAILQ_ENTRY(ifg_list) ifgl_next;
};
-#ifdef SYS_EVENTHANDLER_H
+#ifdef _SYS_EVENTHANDLER_H_
/* group attach event */
typedef void (*group_attach_event_handler_t)(void *, struct ifg_group *);
EVENTHANDLER_DECLARE(group_attach_event, group_attach_event_handler_t);
@@ -402,7 +402,7 @@ EVENTHANDLER_DECLARE(group_detach_event, group_detach_event_handler_t);
/* group change event */
typedef void (*group_change_event_handler_t)(void *, const char *);
EVENTHANDLER_DECLARE(group_change_event, group_change_event_handler_t);
-#endif /* SYS_EVENTHANDLER_H */
+#endif /* _SYS_EVENTHANDLER_H_ */
#define IF_AFDATA_LOCK_INIT(ifp) \
rw_init(&(ifp)->if_afdata_lock, "if_afdata")
OpenPOWER on IntegriCloud