mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
sh: Add const to nodesavestr().
This commit is contained in:
parent
220fa950ce
commit
7d919c164d
1 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ static void calcsize(union node *);
|
|||
static void sizenodelist(struct nodelist *);
|
||||
static union node *copynode(union node *);
|
||||
static struct nodelist *copynodelist(struct nodelist *);
|
||||
static char *nodesavestr(char *);
|
||||
static char *nodesavestr(const char *);
|
||||
|
||||
|
||||
struct funcdef {
|
||||
|
|
@ -147,9 +147,9 @@ copynodelist(struct nodelist *lp)
|
|||
|
||||
|
||||
static char *
|
||||
nodesavestr(char *s)
|
||||
nodesavestr(const char *s)
|
||||
{
|
||||
char *p = s;
|
||||
const char *p = s;
|
||||
char *q = funcstring;
|
||||
char *rtn = funcstring;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue