Mark 'makeup' in ng_frame_relay as const, as its values are immutable.
This commit is contained in:
parent
effb15c0c5
commit
f011f4041a
@ -99,7 +99,7 @@ typedef struct frmrel_softc *sc_p;
|
|||||||
#define LASTBYTE_D_C 0x02 /* last byte is dl_core or dlci info */
|
#define LASTBYTE_D_C 0x02 /* last byte is dl_core or dlci info */
|
||||||
|
|
||||||
/* Used to do headers */
|
/* Used to do headers */
|
||||||
static struct segment {
|
const static struct segment {
|
||||||
u_char mask;
|
u_char mask;
|
||||||
u_char shift;
|
u_char shift;
|
||||||
u_char width;
|
u_char width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user