forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user