summaryrefslogtreecommitdiff
path: root/stdlib/setenv.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /stdlib/setenv.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
Use (void) in no-arguments function definitions.
Diffstat (limited to 'stdlib/setenv.c')
-rw-r--r--stdlib/setenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/setenv.c b/stdlib/setenv.c
index fdcd8e1d08..63c995b0da 100644
--- a/stdlib/setenv.c
+++ b/stdlib/setenv.c
@@ -349,7 +349,7 @@ unsetenv (name)
never made it. Nevertheless the POSIX.9 standard (POSIX bindings
for Fortran 77) requires this function. */
int
-clearenv ()
+clearenv (void)
{
LOCK;