Changeset da8ae79b in rtems


Ignore:
Timestamp:
Dec 13, 1999, 9:21:31 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c629812
Parents:
1c98d28
Message:

Warning removal patch from Philip A. Prindeville <philipp@…>.

Files:
9 edited

Legend:

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

    r1c98d28 rda8ae79b  
    6565#define ISDOT(dp) \
    6666        (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
    67             dp->d_name[1] == '.' && dp->d_name[2] == '\0'))
     67            (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
    6868
    6969#ifndef _REENT_ONLY
  • c/src/lib/libbsp/i386/pc386/3c509/3c509.c

    r1c98d28 rda8ae79b  
    5959 * MODIFICATION/HISTORY:
    6060 * $Log$
     61 * Revision 1.1  1999/05/14 16:23:42  joel
     62 * Added 3COM 3C509 driver from Rosimildo DaSilva <rdasilva@connecttel.com>.
     63 *
    6164 *
    6265 **********************************************************************************/
     
    385388static __inline unsigned char inb( unsigned short io_addr )
    386389{
    387   unsigned short in_data;
     390  unsigned char in_data;
    388391  inport_byte( io_addr, in_data );
    389392  return in_data;
  • c/src/lib/libbsp/i386/pc386/console/console.c

    r1c98d28 rda8ae79b  
    6969| External Prototypes
    7070+--------------------------------------------------------------------------*/
    71 extern void _IBMPC_keyboard_isr(void);
     71extern void _IBMPC_keyboard_isr(rtems_vector_number);
    7272extern rtems_boolean _IBMPC_scankey(char *);  /* defined in 'inch.c' */
    7373extern char BSP_wait_polled_input(void);
  • c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c

    r1c98d28 rda8ae79b  
    187187static struct ne_softc ne_softc[NNEDRIVER];
    188188
     189/* Forward declarations to avoid warnings */
     190
     191static void ne_stop (struct ne_softc *sc);
     192static void ne_init (void *arg);
     193
    189194/* Find the NE2000 device which is attached at a particular interrupt
    190195   vector.  */
  • c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c

    r1c98d28 rda8ae79b  
    2222void exceptionHandler(int, void (*handler)(void));   
    2323
     24void BSP_loop(int uart);
    2425
    2526/* Current uart used by gdb stub */
  • c/src/lib/libbsp/i386/shared/comm/uart.c

    r1c98d28 rda8ae79b  
    3636  register unsigned char val;
    3737
    38   if(uart == 0)
    39     {
    40       i386_inport_byte(COM1_BASE_IO+reg, val);
    41     }
    42   else
    43     {
    44       i386_inport_byte(COM2_BASE_IO+reg, val);
    45     }
     38  if (uart == 0) {
     39    inport_byte(COM1_BASE_IO+reg, val);
     40  } else {
     41    inport_byte(COM2_BASE_IO+reg, val);
     42  }
    4643
    4744  return val;
     
    5148uwrite(int uart, int reg, unsigned int val)
    5249{
    53   if(uart == 0)
    54     {
    55       i386_outport_byte(COM1_BASE_IO+reg, val);
    56     }
    57   else
    58     {
    59       i386_outport_byte(COM2_BASE_IO+reg, val);
    60     }
     50  if (uart == 0) {
     51    outport_byte(COM1_BASE_IO+reg, val);
     52  } else {
     53    outport_byte(COM2_BASE_IO+reg, val);
     54  }
    6155}
    6256
  • c/src/lib/libc/getcwd.c

    r1c98d28 rda8ae79b  
    6565#define ISDOT(dp) \
    6666        (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
    67             dp->d_name[1] == '.' && dp->d_name[2] == '\0'))
     67            (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
    6868
    6969#ifndef _REENT_ONLY
  • c/src/lib/libcpu/i386/displayCpu.c

    r1c98d28 rda8ae79b  
    6868
    6969        /* We must get the stepping number by reading DIR1 */
    70         i386_outport_byte(0x22,0xff) ; i386_inport_byte(0x23, x86_mask);
     70        outport_byte(0x22,0xff);
     71        inport_byte(0x23, x86_mask);
    7172        switch (x86_mask) {
    7273                case 0x03:
  • cpukit/libcsupport/src/getcwd.c

    r1c98d28 rda8ae79b  
    6565#define ISDOT(dp) \
    6666        (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
    67             dp->d_name[1] == '.' && dp->d_name[2] == '\0'))
     67            (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
    6868
    6969#ifndef _REENT_ONLY
Note: See TracChangeset for help on using the changeset viewer.