summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 05:01:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 05:01:28 +0000
commita5fb40cf68025f82a1523c33fe5f65ccbe57670e (patch)
tree6f471c260a84e3098dc70d1ac508ac52cd9abbe8 /cpukit
parent2008-07-31 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-a5fb40cf68025f82a1523c33fe5f65ccbe57670e.tar.bz2
Add missing prototypes.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libblock/include/rtems/bdbuf.h2
-rw-r--r--cpukit/libblock/src/bdbuf.c4
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;