const'ify
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user