From a5fb40cf68025f82a1523c33fe5f65ccbe57670e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 1 Aug 2008 05:01:28 +0000 Subject: [PATCH] Add missing prototypes. --- cpukit/libblock/include/rtems/bdbuf.h | 2 +- cpukit/libblock/src/bdbuf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h index 33e6f496d6..c5a2748aec 100644 --- a/cpukit/libblock/include/rtems/bdbuf.h +++ b/cpukit/libblock/include/rtems/bdbuf.h @@ -178,7 +178,7 @@ extern rtems_bdbuf_config rtems_bdbuf_configuration; * successfully or error code if error is occured) */ rtems_status_code -rtems_bdbuf_init (); +rtems_bdbuf_init (void); /** * Get block buffer for data to be written into. The buffers is set to the diff --git a/cpukit/libblock/src/bdbuf.c b/cpukit/libblock/src/bdbuf.c index c204ce4838..8c85a8f49f 100644 --- a/cpukit/libblock/src/bdbuf.c +++ b/cpukit/libblock/src/bdbuf.c @@ -902,7 +902,7 @@ rtems_bdbuf_append_modified (rtems_bdbuf_pool* pool, rtems_bdbuf_buffer* bd) * Wait the swapper task. */ static void -rtems_bdbuf_wake_swapper () +rtems_bdbuf_wake_swapper (void) { rtems_status_code sc = rtems_event_send (rtems_bdbuf_ctx.swapout, RTEMS_BDBUF_SWAPOUT_SYNC); @@ -1090,7 +1090,7 @@ rtems_bdbuf_release_pool (rtems_bdpool_id pid) * successfully or error code if error is occured) */ rtems_status_code -rtems_bdbuf_init () +rtems_bdbuf_init (void) { rtems_bdpool_id p; rtems_status_code sc;