Changeset 33679ec4 in rtems


Ignore:
Timestamp:
Aug 21, 1998, 1:04:55 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3c7f112
Parents:
c3a1c05
Message:

All warnings removed.

Files:
28 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/libc/res_send.c

    rc3a1c05 r33679ec4  
    853853                DprintQ((_res.options & RES_DEBUG) ||
    854854                        (_res.pfcode & RES_PRF_REPLY),
    855                         (stdout, ""),
     855                        (stdout, "%s", ""),
    856856                        ans, (resplen>anssiz)?anssiz:resplen);
    857857                /*
  • c/src/exec/libnetworking/netinet/ip_input.c

    rc3a1c05 r33679ec4  
    121121#define IPREASS_HMASK           (IPREASS_NHASH - 1)
    122122#define IPREASS_HASH(x,y) \
    123         ((((x) & 0xF | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
     123        (((((x) & 0xF) | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
    124124
    125125static struct ipq ipq[IPREASS_NHASH];
  • c/src/exec/libnetworking/netinet/ip_mroute.c

    rc3a1c05 r33679ec4  
    7070
    7171struct socket  *ip_mrouter  = NULL;
    72 static u_int            ip_mrtproto = 0;
    73 static struct mrtstat   mrtstat;
     72/* static u_int         ip_mrtproto = 0; */
     73/* static struct mrtstat        mrtstat; */
    7474u_int           rsvpdebug = 0;
    7575
  • c/src/exec/libnetworking/netinet/tcp_input.c

    rc3a1c05 r33679ec4  
    500500             */
    501501            ((tp->t_flags & (TF_REQ_CC|TF_RCVD_CC)) != (TF_REQ_CC|TF_RCVD_CC) ||
    502              (to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv) &&
     502             ((to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv)) &&
    503503            ti->ti_seq == tp->rcv_nxt &&
    504504            tiwin && tiwin == tp->snd_wnd &&
  • c/src/exec/libnetworking/rtems/rtems_bsdnet_internal.h

    rc3a1c05 r33679ec4  
    11/*
    22 * Declarations to fit FreeBSD to RTEMS.
    3  * This include file should *never* be exposed to the application programmer.
     3 *
     4 *******************************************************************
     5 *                            WARNING                              *
     6 * This file should *never* be included by any application program *
     7 *******************************************************************
    48 *
    59 *  $Id$
     
    156160#define SIO_RTEMS_SHOW_STATS    _IO('i', 250)
    157161
     162/*
     163 * Some extra prototypes
     164 */
     165int sethostname (char *name, int namelen);
     166void domaininit (void *);
     167void ifinit (void *);
     168void ipintr (void);
     169void arpintr (void);
     170void bootpc_init(void);
     171int socket (int, int, int);
     172int ioctl (int, unsigned long, ...);
     173
    158174#endif /* _RTEMS_BSDNET_INTERNAL_H_ */
  • c/src/exec/libnetworking/rtems/rtems_glue.c

    rc3a1c05 r33679ec4  
    2121#include <sys/callout.h>
    2222#include <sys/proc.h>
     23#include <sys/ioctl.h>
    2324#include <net/if.h>
    2425#include <net/route.h>
  • c/src/exec/libnetworking/rtems/rtems_showroute.c

    rc3a1c05 r33679ec4  
    22 *  $Id$
    33 */
     4
     5#include <stdlib.h>
    46
    57#include <sys/param.h>
  • c/src/lib/libnetworking/libc/res_send.c

    rc3a1c05 r33679ec4  
    853853                DprintQ((_res.options & RES_DEBUG) ||
    854854                        (_res.pfcode & RES_PRF_REPLY),
    855                         (stdout, ""),
     855                        (stdout, "%s", ""),
    856856                        ans, (resplen>anssiz)?anssiz:resplen);
    857857                /*
  • c/src/lib/libnetworking/netinet/ip_input.c

    rc3a1c05 r33679ec4  
    121121#define IPREASS_HMASK           (IPREASS_NHASH - 1)
    122122#define IPREASS_HASH(x,y) \
    123         ((((x) & 0xF | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
     123        (((((x) & 0xF) | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
    124124
    125125static struct ipq ipq[IPREASS_NHASH];
  • c/src/lib/libnetworking/netinet/ip_mroute.c

    rc3a1c05 r33679ec4  
    7070
    7171struct socket  *ip_mrouter  = NULL;
    72 static u_int            ip_mrtproto = 0;
    73 static struct mrtstat   mrtstat;
     72/* static u_int         ip_mrtproto = 0; */
     73/* static struct mrtstat        mrtstat; */
    7474u_int           rsvpdebug = 0;
    7575
  • c/src/lib/libnetworking/netinet/tcp_input.c

    rc3a1c05 r33679ec4  
    500500             */
    501501            ((tp->t_flags & (TF_REQ_CC|TF_RCVD_CC)) != (TF_REQ_CC|TF_RCVD_CC) ||
    502              (to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv) &&
     502             ((to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv)) &&
    503503            ti->ti_seq == tp->rcv_nxt &&
    504504            tiwin && tiwin == tp->snd_wnd &&
  • c/src/lib/libnetworking/rtems/rtems_bsdnet_internal.h

    rc3a1c05 r33679ec4  
    11/*
    22 * Declarations to fit FreeBSD to RTEMS.
    3  * This include file should *never* be exposed to the application programmer.
     3 *
     4 *******************************************************************
     5 *                            WARNING                              *
     6 * This file should *never* be included by any application program *
     7 *******************************************************************
    48 *
    59 *  $Id$
     
    156160#define SIO_RTEMS_SHOW_STATS    _IO('i', 250)
    157161
     162/*
     163 * Some extra prototypes
     164 */
     165int sethostname (char *name, int namelen);
     166void domaininit (void *);
     167void ifinit (void *);
     168void ipintr (void);
     169void arpintr (void);
     170void bootpc_init(void);
     171int socket (int, int, int);
     172int ioctl (int, unsigned long, ...);
     173
    158174#endif /* _RTEMS_BSDNET_INTERNAL_H_ */
  • c/src/lib/libnetworking/rtems/rtems_glue.c

    rc3a1c05 r33679ec4  
    2121#include <sys/callout.h>
    2222#include <sys/proc.h>
     23#include <sys/ioctl.h>
    2324#include <net/if.h>
    2425#include <net/route.h>
  • c/src/lib/libnetworking/rtems/rtems_showroute.c

    rc3a1c05 r33679ec4  
    22 *  $Id$
    33 */
     4
     5#include <stdlib.h>
    46
    57#include <sys/param.h>
  • c/src/libnetworking/libc/res_send.c

    rc3a1c05 r33679ec4  
    853853                DprintQ((_res.options & RES_DEBUG) ||
    854854                        (_res.pfcode & RES_PRF_REPLY),
    855                         (stdout, ""),
     855                        (stdout, "%s", ""),
    856856                        ans, (resplen>anssiz)?anssiz:resplen);
    857857                /*
  • c/src/libnetworking/netinet/ip_input.c

    rc3a1c05 r33679ec4  
    121121#define IPREASS_HMASK           (IPREASS_NHASH - 1)
    122122#define IPREASS_HASH(x,y) \
    123         ((((x) & 0xF | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
     123        (((((x) & 0xF) | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
    124124
    125125static struct ipq ipq[IPREASS_NHASH];
  • c/src/libnetworking/netinet/ip_mroute.c

    rc3a1c05 r33679ec4  
    7070
    7171struct socket  *ip_mrouter  = NULL;
    72 static u_int            ip_mrtproto = 0;
    73 static struct mrtstat   mrtstat;
     72/* static u_int         ip_mrtproto = 0; */
     73/* static struct mrtstat        mrtstat; */
    7474u_int           rsvpdebug = 0;
    7575
  • c/src/libnetworking/netinet/tcp_input.c

    rc3a1c05 r33679ec4  
    500500             */
    501501            ((tp->t_flags & (TF_REQ_CC|TF_RCVD_CC)) != (TF_REQ_CC|TF_RCVD_CC) ||
    502              (to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv) &&
     502             ((to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv)) &&
    503503            ti->ti_seq == tp->rcv_nxt &&
    504504            tiwin && tiwin == tp->snd_wnd &&
  • c/src/libnetworking/rtems/rtems_bsdnet_internal.h

    rc3a1c05 r33679ec4  
    11/*
    22 * Declarations to fit FreeBSD to RTEMS.
    3  * This include file should *never* be exposed to the application programmer.
     3 *
     4 *******************************************************************
     5 *                            WARNING                              *
     6 * This file should *never* be included by any application program *
     7 *******************************************************************
    48 *
    59 *  $Id$
     
    156160#define SIO_RTEMS_SHOW_STATS    _IO('i', 250)
    157161
     162/*
     163 * Some extra prototypes
     164 */
     165int sethostname (char *name, int namelen);
     166void domaininit (void *);
     167void ifinit (void *);
     168void ipintr (void);
     169void arpintr (void);
     170void bootpc_init(void);
     171int socket (int, int, int);
     172int ioctl (int, unsigned long, ...);
     173
    158174#endif /* _RTEMS_BSDNET_INTERNAL_H_ */
  • c/src/libnetworking/rtems/rtems_glue.c

    rc3a1c05 r33679ec4  
    2121#include <sys/callout.h>
    2222#include <sys/proc.h>
     23#include <sys/ioctl.h>
    2324#include <net/if.h>
    2425#include <net/route.h>
  • c/src/libnetworking/rtems/rtems_showroute.c

    rc3a1c05 r33679ec4  
    22 *  $Id$
    33 */
     4
     5#include <stdlib.h>
    46
    57#include <sys/param.h>
  • cpukit/libnetworking/libc/res_send.c

    rc3a1c05 r33679ec4  
    853853                DprintQ((_res.options & RES_DEBUG) ||
    854854                        (_res.pfcode & RES_PRF_REPLY),
    855                         (stdout, ""),
     855                        (stdout, "%s", ""),
    856856                        ans, (resplen>anssiz)?anssiz:resplen);
    857857                /*
  • cpukit/libnetworking/netinet/ip_input.c

    rc3a1c05 r33679ec4  
    121121#define IPREASS_HMASK           (IPREASS_NHASH - 1)
    122122#define IPREASS_HASH(x,y) \
    123         ((((x) & 0xF | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
     123        (((((x) & 0xF) | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
    124124
    125125static struct ipq ipq[IPREASS_NHASH];
  • cpukit/libnetworking/netinet/ip_mroute.c

    rc3a1c05 r33679ec4  
    7070
    7171struct socket  *ip_mrouter  = NULL;
    72 static u_int            ip_mrtproto = 0;
    73 static struct mrtstat   mrtstat;
     72/* static u_int         ip_mrtproto = 0; */
     73/* static struct mrtstat        mrtstat; */
    7474u_int           rsvpdebug = 0;
    7575
  • cpukit/libnetworking/netinet/tcp_input.c

    rc3a1c05 r33679ec4  
    500500             */
    501501            ((tp->t_flags & (TF_REQ_CC|TF_RCVD_CC)) != (TF_REQ_CC|TF_RCVD_CC) ||
    502              (to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv) &&
     502             ((to.to_flag & TOF_CC) != 0 && to.to_cc == tp->cc_recv)) &&
    503503            ti->ti_seq == tp->rcv_nxt &&
    504504            tiwin && tiwin == tp->snd_wnd &&
  • cpukit/libnetworking/rtems/rtems_bsdnet_internal.h

    rc3a1c05 r33679ec4  
    11/*
    22 * Declarations to fit FreeBSD to RTEMS.
    3  * This include file should *never* be exposed to the application programmer.
     3 *
     4 *******************************************************************
     5 *                            WARNING                              *
     6 * This file should *never* be included by any application program *
     7 *******************************************************************
    48 *
    59 *  $Id$
     
    156160#define SIO_RTEMS_SHOW_STATS    _IO('i', 250)
    157161
     162/*
     163 * Some extra prototypes
     164 */
     165int sethostname (char *name, int namelen);
     166void domaininit (void *);
     167void ifinit (void *);
     168void ipintr (void);
     169void arpintr (void);
     170void bootpc_init(void);
     171int socket (int, int, int);
     172int ioctl (int, unsigned long, ...);
     173
    158174#endif /* _RTEMS_BSDNET_INTERNAL_H_ */
  • cpukit/libnetworking/rtems/rtems_glue.c

    rc3a1c05 r33679ec4  
    2121#include <sys/callout.h>
    2222#include <sys/proc.h>
     23#include <sys/ioctl.h>
    2324#include <net/if.h>
    2425#include <net/route.h>
  • cpukit/libnetworking/rtems/rtems_showroute.c

    rc3a1c05 r33679ec4  
    22 *  $Id$
    33 */
     4
     5#include <stdlib.h>
    46
    57#include <sys/param.h>
Note: See TracChangeset for help on using the changeset viewer.