]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/usr.bin/xlint/lint1/d_cast_init.c
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / usr.bin / xlint / lint1 / d_cast_init.c
1 /* cast initialization */
2 typedef unsigned char u_char;
3 typedef unsigned int size_t;
4 struct  sockaddr_x25 {
5         u_char  x25_len;
6         u_char  x25_family;      
7         short   x25_net;         
8         char    x25_addr[16];    
9         struct  x25opts {
10                 char    op_flags;        
11                 char    op_psize;        
12                 char    op_wsize;        
13                 char    op_speed;        
14         } x25_opts;
15         short   x25_udlen;       
16         char    x25_udata[16];   
17 };
18
19 struct sockaddr_x25 x25_dgmask = {
20         (unsigned char)(unsigned char)(unsigned int)(unsigned long)(&((( struct sockaddr_x25  *)0)->x25_udata[1])) ,     
21         0,               
22         0,               
23         {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},        
24         {0, 0, 0, 0},            
25         -1,              
26         {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},        
27 };