Changeset caccc5b in rtems


Ignore:
Timestamp:
Jul 24, 2018, 9:35:09 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
05259de1
Parents:
91f39a5
git-author:
Sebastian Huber <sebastian.huber@…> (07/24/18 09:35:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/24/18 11:00:56)
Message:

bsps: Fix function declaration warnings

Location:
bsps
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/include/uart.h

    r91f39a5 rcaccc5b  
    3737int  BSP_uart_termios_write_com1(int minor, const char *buf, int len);
    3838int  BSP_uart_termios_write_com2(int minor, const char *buf, int len);
    39 void BSP_uart_termios_isr_com1();
    40 void BSP_uart_termios_isr_com2();
     39void BSP_uart_termios_isr_com1(void);
     40void BSP_uart_termios_isr_com2(void);
    4141void BSP_uart_dbgisr_com1(void);
    4242void BSP_uart_dbgisr_com2(void);
  • bsps/include/bsp/VME.h

    r91f39a5 rcaccc5b  
    7373 */
    7474
    75 void BSP_vme_config();
     75void BSP_vme_config(void);
    7676
    7777/* translate through host bridge and vme master window of vme bridge */
  • bsps/mips/malta/include/bsp/pci.h

    r91f39a5 rcaccc5b  
    5858
    5959/* FIXME: This probably belongs into rtems/pci.h */
    60 extern unsigned char pci_bus_count();
     60extern unsigned char pci_bus_count(void);
    6161
    6262int indirect_pci_read_config_byte(
  • bsps/powerpc/beatnik/include/bsp/bsp_bsdnet_attach.h

    r91f39a5 rcaccc5b  
    4040
    4141BSP_NetIFDesc
    42 BSP_availableNetIFs();
     42BSP_availableNetIFs(void);
    4343
    4444/* Define this macro so applications can conditionally compile this API */
  • bsps/powerpc/haleakala/include/mmu_405.h

    r91f39a5 rcaccc5b  
    4141
    4242/* Initialise and clear the MMU */
    43 void            mmu_initialise();
     43void            mmu_initialise(void);
    4444
    4545/* Turn on/off data access translation */
     
    5656
    5757/* Return number of TLB entries out of total in use */
    58 int                     mmu_get_tlb_count();
     58int                     mmu_get_tlb_count(void);
    5959
    6060/* Allocate a new process ID and return it */
    61 uint8_t         mmu_new_processID();
     61uint8_t         mmu_new_processID(void);
    6262
    6363/* Free a process ID that has been in use */
     
    6565
    6666/* Return the current process ID */
    67 uint8_t         mmu_current_processID();
     67uint8_t         mmu_current_processID(void);
    6868
    6969/* Change the process ID to ID and return the old value */
  • bsps/powerpc/include/bsp/flashPgmPvt.h

    r91f39a5 rcaccc5b  
    262262        int              (*flash_wp)(int bank, int enbl);
    263263/* read a running us clock (for polling timeout) */
    264         uint32_t         (*read_us_timer)();
     264        uint32_t         (*read_us_timer)(void);
    265265};
    266266
  • bsps/powerpc/include/bsp/pci.h

    r91f39a5 rcaccc5b  
    4949
    5050/* FIXME: This probably belongs into rtems/pci.h */
    51 extern unsigned char pci_bus_count();
     51extern unsigned char pci_bus_count(void);
    5252
    5353/* FIXME: This also is generic and could go into rtems/pci.h */
  • bsps/powerpc/motorola_powerpc/include/bsp.h

    r91f39a5 rcaccc5b  
    130130#define BSP_UART_BAUD_BASE      115200
    131131
     132struct rtems_bsdnet_ifconfig;
     133
    132134#if defined(MVME_HAS_DEC21140)
    133 struct rtems_bsdnet_ifconfig;
    134135#define RTEMS_BSP_NETWORK_DRIVER_NAME "dc1"
    135136#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach
    136 extern int rtems_dec21140_driver_attach();
     137extern int rtems_dec21140_driver_attach(struct rtems_bsdnet_ifconfig *, int);
    137138#endif
    138139
     
    140141#define RTEMS_BSP_NETWORK_DRIVER_NAME "ne1"
    141142#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach
    142 extern int rtems_ne_driver_attach();
     143extern int rtems_ne_driver_attach(struct rtems_bsdnet_ifconfig *, int);
    143144
    144145RTEMS_INLINE_ROUTINE const char* bsp_cmdline_arg(const char* arg)
  • bsps/powerpc/mvme5500/include/bsp.h

    r91f39a5 rcaccc5b  
    178178#endif
    179179
    180 extern int RTEMS_BSP_NETWORK_DRIVER_ATTACH();
     180struct rtems_bsdnet_ifconfig;
     181
     182extern int RTEMS_BSP_NETWORK_DRIVER_ATTACH(struct rtems_bsdnet_ifconfig *, int);
    181183
    182184#define gccMemBar() RTEMS_COMPILER_MEMORY_BARRIER()
  • bsps/powerpc/mvme5500/pci/pci.c

    r91f39a5 rcaccc5b  
    414414 * Return the number of PCI buses in the system
    415415 */
    416 unsigned char pci_bus_count()
     416unsigned char pci_bus_count(void)
    417417{
    418418  return(ucMaxPCIBus);
Note: See TracChangeset for help on using the changeset viewer.