save fuse prog command line in a comment
[protos/xbee-avr.git] / parse_neighbor.c
index 3faa0c7..1b572e8 100644 (file)
@@ -46,7 +46,7 @@
 #include "parse_neighbor.h"
 
 static int8_t
-parse_neighbor(parse_pgm_token_hdr_t *tk, const char *buf, void *res)
+parse_neighbor(PGM_P tk, const char *buf, void *res)
 {
        struct token_neighbor_data tkd;
        struct xbee_dev *dev;
@@ -76,7 +76,7 @@ parse_neighbor(parse_pgm_token_hdr_t *tk, const char *buf, void *res)
 }
 
 static int8_t
-complete_get_nb_neighbor(parse_pgm_token_hdr_t *tk)
+complete_get_nb_neighbor(PGM_P tk)
 {
        struct token_neighbor_data tkd;
        struct xbee_dev *dev;
@@ -94,7 +94,7 @@ complete_get_nb_neighbor(parse_pgm_token_hdr_t *tk)
 }
 
 static int8_t
-complete_get_elt_neighbor(parse_pgm_token_hdr_t *tk, int8_t idx,
+complete_get_elt_neighbor(PGM_P tk, int8_t idx,
                          char *dstbuf, uint8_t size)
 {
        struct token_neighbor_data tkd;
@@ -123,9 +123,9 @@ complete_get_elt_neighbor(parse_pgm_token_hdr_t *tk, int8_t idx,
 
 
 static int8_t
-help_neighbor(parse_pgm_token_hdr_t *tk, char *dstbuf,
-             uint8_t size)
+help_neighbor(PGM_P tk, char *dstbuf, uint8_t size)
 {
+       (void)tk;
        snprintf_P(dstbuf, size, PSTR("Neighbor"));
        return 0;
 }