[rtems commit] sparc/.../occan.c: Fix missing prototype warning
Joel Sherrill
joel at rtems.org
Sat Sep 21 21:19:52 UTC 2013
Module: rtems
Branch: master
Commit: ac19578efa182d209b26f9751d67c68fa6a03fcb
Changeset: http://git.rtems.org/rtems/commit/?id=ac19578efa182d209b26f9751d67c68fa6a03fcb
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sat Sep 21 15:56:28 2013 -0500
sparc/.../occan.c: Fix missing prototype warning
---
c/src/lib/libbsp/sparc/shared/can/occan.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/occan.c b/c/src/lib/libbsp/sparc/shared/can/occan.c
index ca86cc2..68bf193 100644
--- a/c/src/lib/libbsp/sparc/shared/can/occan.c
+++ b/c/src/lib/libbsp/sparc/shared/can/occan.c
@@ -1806,6 +1806,8 @@ static void occan_interrupt_handler(rtems_vector_number v){
static rtems_driver_address_table occan_driver = OCCAN_DRIVER_TABLE_ENTRY;
+int OCCAN_PREFIX(_register)(struct ambapp_bus *bus);
+
int OCCAN_PREFIX(_register)(struct ambapp_bus *bus){
rtems_status_code r;
rtems_device_major_number m;
More information about the vc
mailing list