Changeset 300c071c in rtems


Ignore:
Timestamp:
Dec 22, 2008, 12:45:53 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
dbec0950
Parents:
ea4e3f1
Message:

Add missing initializers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/net/rtsock.c

    rea4e3f1 r300c071c  
    5151#include <net/raw_cb.h>
    5252
    53 static struct   sockaddr route_dst = { 2, PF_ROUTE, };
    54 static struct   sockaddr route_src = { 2, PF_ROUTE, };
    55 static struct   sockaddr sa_zero   = { sizeof(sa_zero), AF_INET, };
    56 static struct   sockproto route_proto = { PF_ROUTE, };
     53static struct   sockaddr route_dst = { 2, PF_ROUTE, { 0 }  };
     54static struct   sockaddr route_src = { 2, PF_ROUTE, { 0 } };
     55static struct   sockaddr sa_zero   = { sizeof(sa_zero), AF_INET, { 0 } };
     56static struct   sockproto route_proto = { PF_ROUTE, 0 };
    5757
    5858struct walkarg {
     
    785785  0,            route_output,   raw_ctlinput,   0,
    786786  route_usrreq,
    787   raw_init
     787  raw_init,     NULL,           NULL,           NULL,
     788  NULL
    788789}
    789790};
     
    791792struct domain routedomain =
    792793    { PF_ROUTE, "route", route_init, 0, 0,
    793       routesw, &routesw[sizeof(routesw)/sizeof(routesw[0])] };
     794      routesw, &routesw[sizeof(routesw)/sizeof(routesw[0])],
     795      NULL, NULL, 0, 0 };
    794796
    795797DOMAIN_SET(route);
Note: See TracChangeset for help on using the changeset viewer.