summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-22 08:03:51 +0000
committerbde <bde@FreeBSD.org>1997-03-22 08:03:51 +0000
commit60e14681284303aa19c383bd113f78d75db543e8 (patch)
treec345eb5285f5bdf8c5e18f1840eace99d6cf9b02 /lib/libc/stdlib/getenv.c
parent0bc178170104cff1e818e849d08a50c6a4ee0851 (diff)
downloadFreeBSD-src-60e14681284303aa19c383bd113f78d75db543e8.zip
FreeBSD-src-60e14681284303aa19c383bd113f78d75db543e8.tar.gz
Removed `volatile' from declaration of `time', and removed the resulting
null casts. `time' is nonvolatile for accesses within a region locked by splclock()/splx(). Accesses outside such a region are invalid, and splx() must have the side effect of potentially changing all global variables (since there are hundreds of sort of volatile variables like `time'), so declaring `time' as volatile didn't have any real benefits.
Diffstat (limited to 'lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud