mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
- missing bits of patch attached to bug #249 (constify).
This commit is contained in:
parent
f771d88443
commit
a901b40464
@ -1038,7 +1038,7 @@ static char *get_name(char *name, char *p)
|
|||||||
* old approach of multiple scanf occurrences with large numbers of
|
* old approach of multiple scanf occurrences with large numbers of
|
||||||
* args. */
|
* args. */
|
||||||
|
|
||||||
/* static const char *ss_fmt[] = { */
|
/* static const char * const ss_fmt[] = { */
|
||||||
/* "%Ln%Lu%lu%lu%lu%lu%ln%ln%Ln%Lu%lu%lu%lu%lu%lu", */
|
/* "%Ln%Lu%lu%lu%lu%lu%ln%ln%Ln%Lu%lu%lu%lu%lu%lu", */
|
||||||
/* "%Lu%Lu%lu%lu%lu%lu%ln%ln%Lu%Lu%lu%lu%lu%lu%lu", */
|
/* "%Lu%Lu%lu%lu%lu%lu%ln%ln%Lu%Lu%lu%lu%lu%lu%lu", */
|
||||||
/* "%Lu%Lu%lu%lu%lu%lu%lu%lu%Lu%Lu%lu%lu%lu%lu%lu%lu" */
|
/* "%Lu%Lu%lu%lu%lu%lu%lu%lu%Lu%Lu%lu%lu%lu%lu%lu%lu" */
|
||||||
@ -1359,7 +1359,7 @@ static int do_if_fetch(struct interface *ife)
|
|||||||
|
|
||||||
/* This structure defines hardware protocols and their handlers. */
|
/* This structure defines hardware protocols and their handlers. */
|
||||||
struct hwtype {
|
struct hwtype {
|
||||||
const char *name;
|
const char * const name;
|
||||||
const char *title;
|
const char *title;
|
||||||
int type;
|
int type;
|
||||||
int alen;
|
int alen;
|
||||||
|
Loading…
Reference in New Issue
Block a user