const'ify

This commit is contained in:
Alfred Perlstein 2001-03-27 09:43:09 +00:00
parent 918fb560b4
commit 40c10ffdbd
2 changed files with 2 additions and 2 deletions

View file

@ -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 *));

View file

@ -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 */