[rtems commit] virtex5/startup/dummy_console.c: Fix no prototype warning

Joel Sherrill joel at rtems.org
Mon Apr 24 22:21:55 UTC 2017


Module:    rtems
Branch:    master
Commit:    fd48b43007b001a6f31949952504c9b55d895c4f
Changeset: http://git.rtems.org/rtems/commit/?id=fd48b43007b001a6f31949952504c9b55d895c4f

Author:    Joel Sherrill <joel at rtems.org>
Date:      Mon Apr 24 11:15:53 2017 -0500

virtex5/startup/dummy_console.c: Fix no prototype warning

---

 c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c b/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c
index 048133d..e62a9f0 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c
+++ b/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c
@@ -26,6 +26,7 @@ rtems_device_driver console_control(rtems_device_major_number major,
                                     rtems_device_minor_number minor,
                                     void*                     arg);
 
+void BSP_output_char(char ch);
 
 ssize_t __bsp_memory_write(int minor, const char* buf, size_t len)
 {




More information about the vc mailing list