mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
* isis_misc.[ch]: Fix some warnings, making some strings const.
This commit is contained in:
parent
7d7d0f3848
commit
56b24f4c33
@ -1,3 +1,7 @@
|
|||||||
|
2005-08-16 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
|
* isis_misc.[ch]: Fix some warnings, making some strings const.
|
||||||
|
|
||||||
2005-08-10 Hasso Tepper <hasso at quagga.net>
|
2005-08-10 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
* topology/spgrid.c: MAXLONG is deprecated, use LONG_MAX instead.
|
* topology/spgrid.c: MAXLONG is deprecated, use LONG_MAX instead.
|
||||||
|
@ -162,10 +162,10 @@ dotformat2buff (u_char * buff, u_char * dotted)
|
|||||||
* conversion of XXXX.XXXX.XXXX to memory
|
* conversion of XXXX.XXXX.XXXX to memory
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
sysid2buff (u_char * buff, u_char * dotted)
|
sysid2buff (u_char * buff, const u_char * dotted)
|
||||||
{
|
{
|
||||||
int len = 0;
|
int len = 0;
|
||||||
u_char *pos = dotted;
|
const u_char *pos = dotted;
|
||||||
u_char number[3];
|
u_char number[3];
|
||||||
|
|
||||||
number[2] = '\0';
|
number[2] = '\0';
|
||||||
|
@ -35,7 +35,7 @@ struct in_addr newprefix2inaddr (u_char * prefix_start,
|
|||||||
* return value of 0 indicates wrong input
|
* return value of 0 indicates wrong input
|
||||||
*/
|
*/
|
||||||
int dotformat2buff (u_char *, u_char *);
|
int dotformat2buff (u_char *, u_char *);
|
||||||
int sysid2buff (u_char *, u_char *);
|
int sysid2buff (u_char *, const u_char *);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Printing functions
|
* Printing functions
|
||||||
|
Loading…
Reference in New Issue
Block a user