diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-28 17:32:05 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-28 17:32:05 +0000 |
commit | ca558df378372b5884ff8069ed7ca0828d9b8de1 (patch) | |
tree | 437f037c49b94ed358c6bed90d5be63adb743843 /sys/kern/kern_environment.c | |
parent | 789691e908f6bc573894f86b17cf9616bce158c7 (diff) | |
download | FreeBSD-src-ca558df378372b5884ff8069ed7ca0828d9b8de1.zip FreeBSD-src-ca558df378372b5884ff8069ed7ca0828d9b8de1.tar.gz |
Fix warnings related to -Wall -Wcast-qual
Diffstat (limited to 'sys/kern/kern_environment.c')
-rw-r--r-- | sys/kern/kern_environment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_environment.c b/sys/kern/kern_environment.c index 565a16d..df235e4 100644 --- a/sys/kern/kern_environment.c +++ b/sys/kern/kern_environment.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_environment.c,v 1.4 1999/01/15 17:24:56 msmith Exp $ + * $Id: kern_environment.c,v 1.5 1999/01/27 21:24:50 dillon Exp $ */ /* @@ -71,7 +71,7 @@ getenv(char *name) int getenv_int(char *name, int *data) { - char *value, *vtp; + const char *value, *vtp; quad_t iv; if ((value = getenv(name)) == NULL) |