summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-06-30 09:18:21 +1000
committerChris Johns <chrisj@rtems.org>2016-06-30 09:18:21 +1000
commitc980a04df571ee4bbf938458ff4c1dc451074f01 (patch)
treea2f227780b598c6e4d2568c7d5cb4559adb03f50
parentAdd rtems_get_route to fetch a specific route from the routing tables. (diff)
downloadrtems-libbsd-c980a04df571ee4bbf938458ff4c1dc451074f01.tar.bz2
Fix fomatting and C++ guard.
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h
index aa0a3adf..8bab767e 100644
--- a/rtemsbsd/include/machine/rtems-bsd-config.h
+++ b/rtemsbsd/include/machine/rtems-bsd-config.h
@@ -64,7 +64,7 @@
#include <machine/rtems-bsd-rc-conf-services.h>
#ifdef __cplusplus
-//extern "C" {
+extern "C" {
#endif /* __cplusplus */
/*
@@ -76,7 +76,7 @@
* https://www.freebsd.org/doc/handbook/firewalls-pf.html
*/
#if defined(RTEMS_BSD_CONFIG_NET_PF_UNIX)
- #define RTEMS_BSD_CFGDECL_NET_PF_UNIX SYSINIT_NEED_NET_PF_UNIX
+ #define RTEMS_BSD_CFGDECL_NET_PF_UNIX SYSINIT_NEED_NET_PF_UNIX
#endif /* RTEMS_BSD_CONFIG_NET_PF_UNIX */
/*
@@ -84,7 +84,7 @@
* https://www.freebsd.org/doc/handbook/network-aggregation.html
*/
#if defined(RTEMS_BSD_CONFIG_NET_IF_LAGG)
- #define RTEMS_BSD_CFGDECL_IF_LAGG SYSINIT_NEED_NET_IF_LAGG
+ #define RTEMS_BSD_CFGDECL_IF_LAGG SYSINIT_NEED_NET_IF_LAGG
#endif /* RTEMS_BSD_CONFIG_NET_IF_LAGG */
/*
@@ -92,14 +92,14 @@
* https://www.freebsd.org/cgi/man.cgi?query=rc.conf then 'network_interfaces'.
*/
#if defined(RTEMS_BSD_CONFIG_NET_IF_VLAN)
- #define RTEMS_BSD_CFGDECL_NET_IF_VLAN SYSINIT_NEED_NET_IF_VLAN
+ #define RTEMS_BSD_CFGDECL_NET_IF_VLAN SYSINIT_NEED_NET_IF_VLAN
#endif /* RTEMS_BSD_CONFIG_NET_IF_VLAN */
/*
* FTPD
*/
#if defined(RTEMS_BSD_CONFIG_SERVICE_FTPD)
- #define RTEMS_BSD_CFGDECL_FTPD RTEMS_BSD_RC_CONF_SYSINT(rc_conf_ftpd)
+ #define RTEMS_BSD_CFGDECL_FTPD RTEMS_BSD_RC_CONF_SYSINT(rc_conf_ftpd)
#endif /* RTEMS_BSD_CONFIG_SERVICE_FTPD */
/*