[PATCH 29/54] powerpc/psim/include/bsp.h: Add prototypes to fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 13 15:37:13 UTC 2014


---
 c/src/lib/libbsp/powerpc/psim/include/bsp.h | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/psim/include/bsp.h b/c/src/lib/libbsp/powerpc/psim/include/bsp.h
index 45c46e0..53822d5 100644
--- a/c/src/lib/libbsp/powerpc/psim/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/psim/include/bsp.h
@@ -66,14 +66,22 @@ extern uint32_t   BSP_mem_size;
 #define Processor_Synchronize() \
   __asm__ (" eieio ")
 
+/*
+ *  Network configuration
+ */
 struct rtems_bsdnet_ifconfig;
 
-int
-rtems_ifsim_attach(struct rtems_bsdnet_ifconfig *ifcfg, int attaching);
+int rtems_ifsim_attach(struct rtems_bsdnet_ifconfig *ifcfg, int attaching);
 
 #define RTEMS_BSP_NETWORK_DRIVER_NAME   "ifsim1"
 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_ifsim_attach
 
+/*
+ *  Interfaces to required Clock Driver support methods
+ */
+int BSP_disconnect_clock_handler(void);
+int BSP_connect_clock_handler(void);
+
 #endif /* ASM */
 
 #define BSP_HAS_NO_VME
-- 
1.9.3




More information about the devel mailing list