Преглед изворни кода

Warnings purge

tags/v0.9.3
Marty Connor пре 17 година
родитељ
комит
ef7f6e72a1
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 2
    2
      src/include/gpxe/icmp6.h
  2. 0
    1
      src/include/gpxe/ndp.h

+ 2
- 2
src/include/gpxe/icmp6.h Прегледај датотеку

32
 	/* "Compulsory" options */
32
 	/* "Compulsory" options */
33
 	uint8_t opt_type;
33
 	uint8_t opt_type;
34
 	uint8_t opt_len;
34
 	uint8_t opt_len;
35
-#warning hack alert
35
+  /* FIXME:  hack alert */
36
 	uint8_t opt_ll_addr[6];
36
 	uint8_t opt_ll_addr[6];
37
 };
37
 };
38
 
38
 
45
 	struct in6_addr target;
45
 	struct in6_addr target;
46
 	uint8_t opt_type;
46
 	uint8_t opt_type;
47
 	uint8_t opt_len;
47
 	uint8_t opt_len;
48
-#warning hack alert
48
+  /* FIXME:  hack alert */
49
 	uint8_t opt_ll_addr[6];
49
 	uint8_t opt_ll_addr[6];
50
 };
50
 };
51
 
51
 

+ 0
- 1
src/include/gpxe/ndp.h Прегледај датотеку

16
 #define NDP_STATE_PROBE 4
16
 #define NDP_STATE_PROBE 4
17
 #define NDP_STATE_STALE 5
17
 #define NDP_STATE_STALE 5
18
 
18
 
19
-static struct ndp_entry * ndp_find_entry ( struct in6_addr *in6 );
20
 int ndp_resolve ( struct net_device *netdev, struct in6_addr *src,
19
 int ndp_resolve ( struct net_device *netdev, struct in6_addr *src,
21
 		  struct in6_addr *dest, void *dest_ll_addr );
20
 		  struct in6_addr *dest, void *dest_ll_addr );
22
 int ndp_process_advert ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src,
21
 int ndp_process_advert ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src,

Loading…
Откажи
Сачувај