diff options
Diffstat (limited to 'include/net/ax25.h')
-rw-r--r-- | include/net/ax25.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h index 69374cd1a857..41acb093caae 100644 --- a/include/net/ax25.h +++ b/include/net/ax25.h | |||
@@ -283,14 +283,16 @@ extern struct sock *ax25_make_new(struct sock *, struct ax25_dev *); | |||
283 | 283 | ||
284 | /* ax25_addr.c */ | 284 | /* ax25_addr.c */ |
285 | extern ax25_address null_ax25_address; | 285 | extern ax25_address null_ax25_address; |
286 | extern char *ax2asc(char *buf, ax25_address *); | 286 | extern char *ax2asc(char *buf, const ax25_address *); |
287 | extern void asc2ax(ax25_address *addr, char *callsign); | 287 | extern void asc2ax(ax25_address *addr, const char *callsign); |
288 | extern int ax25cmp(ax25_address *, ax25_address *); | 288 | extern int ax25cmp(const ax25_address *, const ax25_address *); |
289 | extern int ax25digicmp(ax25_digi *, ax25_digi *); | 289 | extern int ax25digicmp(const ax25_digi *, const ax25_digi *); |
290 | extern unsigned char *ax25_addr_parse(unsigned char *, int, ax25_address *, ax25_address *, ax25_digi *, int *, int *); | 290 | extern const unsigned char *ax25_addr_parse(const unsigned char *, int, |
291 | extern int ax25_addr_build(unsigned char *, ax25_address *, ax25_address *, ax25_digi *, int, int); | 291 | ax25_address *, ax25_address *, ax25_digi *, int *, int *); |
292 | extern int ax25_addr_size(ax25_digi *); | 292 | extern int ax25_addr_build(unsigned char *, const ax25_address *, |
293 | extern void ax25_digi_invert(ax25_digi *, ax25_digi *); | 293 | const ax25_address *, const ax25_digi *, int, int); |
294 | extern int ax25_addr_size(const ax25_digi *); | ||
295 | extern void ax25_digi_invert(const ax25_digi *, ax25_digi *); | ||
294 | 296 | ||
295 | /* ax25_dev.c */ | 297 | /* ax25_dev.c */ |
296 | extern ax25_dev *ax25_dev_list; | 298 | extern ax25_dev *ax25_dev_list; |