Declare environ on file scope. Don't declare __findenv as inline,
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 28 Apr 2005 13:51:55 +0000 (13:51 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 28 Apr 2005 13:51:55 +0000 (13:51 +0000)
commite5306f42a3e59db7cde96faafad68a4faefb0859
treea6aebfc28567af4241475670368e4ecfdab60117
parent8e89de2d6975b723144f039349816e615a5420d1
Declare environ on file scope. Don't declare __findenv as inline,
in C99 this means static too. GCC doesn't implement this correctly,
but that's no excuse. Fix type issues. ANSIfy. Remove useless casts.
lib/libc/stdlib/getenv.c
lib/libc/stdlib/setenv.c