diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-12-07 18:43:13 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-08 20:19:25 -0500 |
commit | e8cc49bb0fdb9e18a99e6780073d1400ba2b0d1f (patch) | |
tree | f60c38413d47ae0d793673a85578c6b82088aa97 /include/net/ax25.h | |
parent | 6c1bbcc8836358294c431e0c09e85e3480895659 (diff) |
[AX.25]: Constify ax25 utility functions
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
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; |