Changeset 858bf3f in rtems


Ignore:
Timestamp:
Aug 20, 2008, 3:46:38 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
be71612
Parents:
f80453f0
Message:

Add missing prototypes.

Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/console/mc68360_scc.c

    rf80453f0 r858bf3f  
    3030int mc68360_length_count=0;
    3131
    32 void mc68360_Show_length_array() {
     32void mc68360_Show_length_array(void) {
    3333  int i;
    3434  for (i=0; i<MC68360_LENGHT_SIZE; i++)
     
    4141#define SYNC     eieio
    4242
    43 void mc68360_scc_nullFunc() {}
     43void mc68360_scc_nullFunc(void) {}
    4444
    4545uint8_t scc_read8(
  • c/src/lib/libbsp/powerpc/ep1a/console/rsPMCQ1.c

    rf80453f0 r858bf3f  
    8181};
    8282
    83 void MsDelay()
     83void MsDelay(void)
    8484{
    8585  printk(".");
     
    103103
    104104
    105 void rsPMCQ1_scc_nullFunc() {}
     105void rsPMCQ1_scc_nullFunc(void) {}
    106106 
    107107/*******************************************************************************
     
    300300*/
    301301
    302 unsigned int rsPMCQ1Init()
     302unsigned int rsPMCQ1Init(void)
    303303{
    304304  int busNo;
  • c/src/lib/libbsp/powerpc/ep1a/console/rsPMCQ1.h

    rf80453f0 r858bf3f  
    144144extern unsigned int rsPMCQ1QuiccIntConnect(
    145145  unsigned long busNo, unsigned long slotNo,unsigned long funcNo, rtems_irq_hdl routine,rtems_irq_hdl_param arg );
    146 unsigned int rsPMCQ1Init();
     146extern unsigned int rsPMCQ1Init(void);
    147147
    148148#endif                          /* __INCPMCQ1H */
  • c/src/lib/libbsp/powerpc/ep1a/irq/irq_init.c

    rf80453f0 r858bf3f  
    4040 * default on/off function
    4141 */
    42 static void nop_func(){}
     42static void nop_func(void){}
    4343/*
    4444 * default isOn function
    4545 */
    46 static int not_connected() {return 0;}
     46static int not_connected(void) {return 0;}
    4747/*
    4848 * default possible isOn function
    4949 */
    50 static int connected() {return 1;}
     50static int connected(void) {return 1;}
    5151
    5252static rtems_irq_connect_data           rtemsIrq[BSP_IRQ_NUMBER];
  • c/src/lib/libbsp/powerpc/ep1a/pci/no_host_bridge.c

    rf80453f0 r858bf3f  
    2626 */
    2727
    28 void detect_host_bridge()
     28void detect_host_bridge(void)
    2929{
    3030  OpenPIC=(volatile struct OpenPIC *) (EUMBBAR + BSP_OPEN_PIC_BASE_OFFSET );
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    rf80453f0 r858bf3f  
    3636
    3737extern unsigned long __rtems_end[];
    38 extern void L1_caches_enables();
    39 extern unsigned get_L2CR();
     38extern void L1_caches_enables(void);
     39extern unsigned get_L2CR(void);
    4040extern void set_L2CR(unsigned);
    4141extern void bsp_cleanup(void);
    42 extern Triv121PgTbl BSP_pgtbl_setup();
    43 extern void BSP_pgtbl_activate();
    44 extern void BSP_vme_config();
    45 extern void ShowBATS();
    46 unsigned int rsPMCQ1Init();
     42extern Triv121PgTbl BSP_pgtbl_setup(void);
     43extern void BSP_pgtbl_activate(Triv121PgTbl);
     44extern void BSP_vme_config(void);
     45extern void ShowBATS(void);
     46unsigned int rsPMCQ1Init(void);
    4747
    4848uint32_t bsp_clicks_per_usec;
     
    5252uint8_t LightIdx = 0;
    5353
    54 void BSP_Increment_Light(){
     54void BSP_Increment_Light(void){
    5555  uint8_t data;
    5656  data = *GENERAL_REGISTER1;
     
    6060}
    6161
    62 void BSP_Fatal_Fault_Light() {
     62void BSP_Fatal_Fault_Light(void) {
    6363  uint8_t data;
    6464  data = *GENERAL_REGISTER1;
Note: See TracChangeset for help on using the changeset viewer.