Changeset c629812 in rtems


Ignore:
Timestamp:
Dec 13, 1999, 10:10:45 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e8918ec
Parents:
da8ae79b
Message:

Removed warnings.

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/ctermid.c

    rda8ae79b rc629812  
    1717#include <stdio.h>
    1818
    19 static ctermid_name = "/dev/console";
     19static char *ctermid_name = "/dev/console";
    2020
    2121char *ctermid(
  • c/src/lib/libbsp/i386/pc386/console/console.c

    rda8ae79b rc629812  
    3434#include <stdlib.h>
    3535#include <assert.h>
     36#include <unistd.h>
    3637#undef __assert
    3738void __assert (const char *file, int line, const char *msg);
     
    6970| External Prototypes
    7071+--------------------------------------------------------------------------*/
    71 extern void _IBMPC_keyboard_isr(rtems_vector_number);
     72extern void _IBMPC_keyboard_isr(void);
    7273extern rtems_boolean _IBMPC_scankey(char *);  /* defined in 'inch.c' */
    7374extern char BSP_wait_polled_input(void);
  • c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c

    rda8ae79b rc629812  
    331331/* Handle an NE2000 interrupt.  */
    332332
    333 static rtems_isr
    334 ne_interrupt_handler (rtems_vector_number v)
     333static void
     334ne_interrupt_handler (void)
    335335{
    336336  struct ne_softc *sc;
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    rda8ae79b rc629812  
    138138void bsp_start_default( void )
    139139{
     140  void Calibrate_loop_1ms(void);
     141
    140142  /*
    141143   * Calibrate variable for 1ms-loop (see timer.c)
  • c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c

    rda8ae79b rc629812  
    127127 * WD interrupt handler
    128128 */
    129 static rtems_isr
    130 wd8003Enet_interrupt_handler (rtems_vector_number v)
     129static void
     130wd8003Enet_interrupt_handler (void)
    131131{
    132132  unsigned int tport;
  • c/src/lib/libbsp/i386/shared/irq/irq.h

    rda8ae79b rc629812  
    5959 
    6060  BSP_RT_TIMER3         =       10
    61 }rtems_irq_symbolic_name;
     61} rtems_irq_symbolic_name;
    6262
    6363   
     
    112112   */
    113113    rtems_irq_is_enabled        isOn;
    114 }rtems_irq_connect_data;
     114} rtems_irq_connect_data;
    115115
    116116typedef struct {
  • c/src/lib/libbsp/shared/bootcard.c

    rda8ae79b rc629812  
    1818
    1919#include <bsp.h>
     20
     21#ifdef USE_INIT_FINI
     22#include <stdlib.h> /* for atexit() */
     23#endif
    2024
    2125extern void bsp_start( void );
  • c/src/lib/libc/ctermid.c

    rda8ae79b rc629812  
    1717#include <stdio.h>
    1818
    19 static ctermid_name = "/dev/console";
     19static char *ctermid_name = "/dev/console";
    2020
    2121char *ctermid(
  • c/src/lib/libcpu/i386/page.c

    rda8ae79b rc629812  
    9999
    100100  /* Reset Tables */
    101   bzero( Tables, nbTables*sizeof(page_table) );
     101  memset( Tables, 0, nbTables*sizeof(page_table) );
    102102  pageDirectory = (page_directory *) Tables;
    103103  pageTable     = (page_table *)((int)Tables + PG_SIZE);
     
    244244
    245245      /* Reset Table */
    246       bzero( Tables, sizeof(page_table) );     
     246      memset( Tables, 0, sizeof(page_table) );     
    247247      pageDirectory->pageDirEntry[directoryEntry].bits.page_frame_address =
    248248        (unsigned int)Tables >> 12;
  • c/src/libchip/network/dec21140.c

    rda8ae79b rc629812  
    174174#define CPU_CACHE_ALIGNMENT_FOR_BUFFER PPC_CACHE_ALIGNMENT
    175175#else
    176 #define phys_to_bus(address) address
     176#define phys_to_bus(address) (unsigned int) address
    177177#define bus_to_phys(address) address
    178178#define delay_in_bus_cycles(cycle) Wait_X_ms( cycle/100 )
  • c/src/libmisc/monitor/mon-symbols.c

    rda8ae79b rc629812  
    1313
    1414/* for strcasecmp in linux and solaris */
     15#undef __STRICT_ANSI__
    1516#include <string.h>
    1617
  • cpukit/libcsupport/src/ctermid.c

    rda8ae79b rc629812  
    1717#include <stdio.h>
    1818
    19 static ctermid_name = "/dev/console";
     19static char *ctermid_name = "/dev/console";
    2020
    2121char *ctermid(
  • cpukit/libmisc/monitor/mon-symbols.c

    rda8ae79b rc629812  
    1313
    1414/* for strcasecmp in linux and solaris */
     15#undef __STRICT_ANSI__
    1516#include <string.h>
    1617
Note: See TracChangeset for help on using the changeset viewer.