From ee0c82f4138ba42f5921e95e1d4ed776d5c77d00 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 2 Aug 2008 05:16:26 +0000 Subject: Add missing prototypes. --- cpukit/libi2c/libi2c.c | 2 +- cpukit/libi2c/libi2c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libi2c') diff --git a/cpukit/libi2c/libi2c.c b/cpukit/libi2c/libi2c.c index bcfb6d4817..096f8cc1c5 100644 --- a/cpukit/libi2c/libi2c.c +++ b/cpukit/libi2c/libi2c.c @@ -348,7 +348,7 @@ const rtems_driver_address_table rtems_libi2c_io_ops = { }; int -rtems_libi2c_initialize () +rtems_libi2c_initialize (void) { rtems_status_code sc; diff --git a/cpukit/libi2c/libi2c.h b/cpukit/libi2c/libi2c.h index d03d02fe10..fc1c57e423 100644 --- a/cpukit/libi2c/libi2c.h +++ b/cpukit/libi2c/libi2c.h @@ -58,7 +58,7 @@ extern "C" { /* Simple I2C driver API */ /* Initialize the libary - may fail if no semaphore or no driver slot is available */ -int rtems_libi2c_initialize (); +int rtems_libi2c_initialize (void); /* Alternatively to rtems_libi2c_initialize() the library can also be * initialized by means of a traditional driver table entry containing -- cgit v1.2.3