$NetBSD: patch-av,v 1.2 2000/02/13 00:18:27 tron Exp $

--- src/conf.c.orig	Mon Oct 20 17:41:38 1997
+++ src/conf.c	Sat Feb 12 23:28:27 2000
@@ -2997,7 +2997,7 @@
 
 static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth));
 static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad));
-static void dostr __P(( char * , int ));
+static void dostr __P(( const char * , int ));
 static char *output;
 static void dopr_outch __P(( int c ));
 static int	SyslogErrno;
@@ -3218,7 +3218,7 @@
 
 static void
 dostr( str , cut)
-     char *str;
+     const char *str;
      int cut;
 {
   if (cut) {
@@ -3315,8 +3315,7 @@
 	char *shell;
 {
 #if HASGETUSERSHELL
-	register char *p;
-	extern char *getusershell();
+	register const char *p;
 
 	if (shell == NULL || shell[0] == '\0' || wordinclass(user, 't') ||
 	    ConfigLevel <= 1)
