mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
const'ify
This commit is contained in:
parent
918fb560b4
commit
40c10ffdbd
2 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ typedef struct {
|
|||
__BEGIN_DECLS
|
||||
void *setnetconfig __P((void));
|
||||
struct netconfig *getnetconfig __P((void *));
|
||||
struct netconfig *getnetconfigent __P((char *));
|
||||
struct netconfig *getnetconfigent __P((const char *));
|
||||
void freenetconfigent __P((struct netconfig *));
|
||||
int endnetconfig __P((void *));
|
||||
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ void *handlep;
|
|||
|
||||
struct netconfig *
|
||||
getnetconfigent(netid)
|
||||
char *netid;
|
||||
const char *netid;
|
||||
{
|
||||
FILE *file; /* NETCONFIG db's file pointer */
|
||||
char *linep; /* holds current netconfig line */
|
||||
|
|
|
|||
Loading…
Reference in a new issue