diff options
-rw-r--r-- | include/netconfig.h | 2 | ||||
-rw-r--r-- | lib/libc/rpc/getnetconfig.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/netconfig.h b/include/netconfig.h index 330a5ee..491a3ff 100644 --- a/include/netconfig.h +++ b/include/netconfig.h @@ -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 *)); diff --git a/lib/libc/rpc/getnetconfig.c b/lib/libc/rpc/getnetconfig.c index c7278b1..36ea793 100644 --- a/lib/libc/rpc/getnetconfig.c +++ b/lib/libc/rpc/getnetconfig.c @@ -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 */ |