Changeset 5da1593 in rtems


Ignore:
Timestamp:
Aug 29, 2018, 5:39:17 PM (8 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
bc696482
Parents:
a8d3f10
git-author:
Joel Sherrill <joel@…> (08/29/18 17:39:17)
git-committer:
Joel Sherrill <joel@…> (08/29/18 17:52:11)
Message:

psim/include/tm27.h: Fix not a prototype warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/psim/include/tm27.h

    ra8d3f10 r5da1593  
    2626#define MUST_WAIT_FOR_INTERRUPT 1
    2727
    28 void nullFunc() {}
     28static void nullFunc(void) {}
    2929static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
    3030                                              0,
     
    3333                                              (rtems_irq_is_enabled) nullFunc};
    3434
    35 void Install_tm27_vector(void (*_handler)())
     35RTEMS_INLINE_ROUTINE void Install_tm27_vector(void (*_handler)())
    3636{
    3737  clockIrqData.hdl = _handler;
    3838  if (!BSP_install_rtems_irq_handler (&clockIrqData)) {
    39         printk("Error installing clock interrupt handler!\n");
    40         rtems_fatal_error_occurred(1);
     39    printk("Error installing clock interrupt handler!\n");
     40    rtems_fatal_error_occurred(1);
    4141  }
    4242}
Note: See TracChangeset for help on using the changeset viewer.