From 88ca8058aa87bf6a58b1b97ac6bfd8f0afdb52dc Mon Sep 17 00:00:00 2001 From: Gregory Schlomoff Date: Mon, 10 Apr 2017 11:09:21 -0700 Subject: [PATCH] ethernet: Add missing BEGIN_DECLS / END_DECLS --- include/libopencm3/ethernet/phy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libopencm3/ethernet/phy.h b/include/libopencm3/ethernet/phy.h index e3c1b95d..0dc9c51d 100755 --- a/include/libopencm3/ethernet/phy.h +++ b/include/libopencm3/ethernet/phy.h @@ -79,6 +79,8 @@ enum phy_status { LINK_FD_10000M, }; +BEGIN_DECLS + void phy_reset(uint8_t phy); bool phy_link_isup(uint8_t phy); @@ -87,6 +89,8 @@ enum phy_status phy_link_status(uint8_t phy); void phy_autoneg_force(uint8_t phy, enum phy_status mode); void phy_autoneg_enable(uint8_t phy); +END_DECLS + /**@}*/