Changeset 404b1fb4 in rtems


Ignore:
Timestamp:
Dec 22, 2008, 5:47:57 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
a10fd8d9
Parents:
6678cdf
Message:

Add missing initializers.

Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/nfsclient/src/nfs.c

    r6678cdf r404b1fb4  
    718718                 */
    719719        u_short                                         fs_ids;
    720 } nfsGlob = {0/* IMPORTANT */};
     720} nfsGlob = {0, 0,  0, 0, 0, 0};
    721721
    722722/*
  • cpukit/libfs/src/nfsclient/src/rpcio.c

    r6678cdf r404b1fb4  
    11501150size_t            size;
    11511151rtems_id          q          =  0;
    1152 ListNodeRec       listHead   = {0};
     1152ListNodeRec       listHead   = {0, 0};
    11531153unsigned long     epoch      = RPCIOD_EPOCH_SECS * ticksPerSec;
    11541154unsigned long                   max_period = RPCIOD_RETX_CAP_S * ticksPerSec;
  • cpukit/libnetworking/netinet/if_ether.c

    r6678cdf r404b1fb4  
    9393static  LIST_HEAD(, llinfo_arp) llinfo_arp;
    9494
    95 struct  ifqueue arpintrq = {0, 0, 0, 50};
     95struct  ifqueue arpintrq = {0, 0, 0, 50, 0};
    9696static int      arp_inuse, arp_allocated;
    9797
     
    147147        struct sockaddr *gate;
    148148        struct llinfo_arp *la;
    149         static struct sockaddr_dl null_sdl = {sizeof(null_sdl), AF_LINK};
     149        static struct sockaddr_dl null_sdl = {sizeof(null_sdl), AF_LINK, 0, 0, 0, 0, 0, { 0 } };
    150150        static int arpinit_done;
    151151
     
    599599{
    600600        struct rtentry *rt;
    601         static struct sockaddr_inarp sin = {sizeof(sin), AF_INET };
     601        static struct sockaddr_inarp sin = {sizeof(sin), AF_INET, 0, { 0 }, { 0 }, 0, 0 };
    602602        const char *why = 0;
    603603
  • cpukit/libnetworking/netinet/ip_divert.c

    r6678cdf r404b1fb4  
    8989
    9090/* Optimization: have this preinitialized */
    91 static struct sockaddr_in divsrc = { sizeof(divsrc), AF_INET };
     91static struct sockaddr_in divsrc = { sizeof(divsrc), AF_INET, 0, 0, { 0 } };
    9292
    9393/* Internal functions */
Note: See TracChangeset for help on using the changeset viewer.