Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-18 03:02:14 +0400
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-18 03:02:14 +0400
commit5b340830045aa3dc6ca01cd1c6082b09161877d2 (patch)
tree4b2514b790deaafc68d6c9caa8706a2ab94bbc52 /coreutils/printenv.c
parentcd5c7866e328b502d946485ad1886ce26cffabfa (diff)
several *.c files:
move 'extern environ' up to the location of #includes
Diffstat (limited to 'coreutils/printenv.c')
-rw-r--r--coreutils/printenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/printenv.c b/coreutils/printenv.c
index 1d41eeb7b..935f52df3 100644
--- a/coreutils/printenv.c
+++ b/coreutils/printenv.c
@@ -12,11 +12,11 @@
#include <string.h>
#include <stdlib.h>
#include "busybox.h"
+extern char **environ;
int printenv_main(int argc, char **argv);
int printenv_main(int argc, char **argv)
{
- extern char **environ;
int e = 0;
/* no variables specified, show whole env */