summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen2001-04-30 18:07:24 +0000
committerEric Andersen2001-04-30 18:07:24 +0000
commit65504ac12cdc4eff0a98fd50fff1a019fbb77f1b (patch)
tree5f04de9cbf691fcedc047fe998e460b347979bd9 /coreutils
parentdefa4f93c2b2edb5f19940cd63017d17da4866de (diff)
downloadbusybox-65504ac12cdc4eff0a98fd50fff1a019fbb77f1b.zip
busybox-65504ac12cdc4eff0a98fd50fff1a019fbb77f1b.tar.gz
These do not need initial values. Let them live in the bss.
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chgrp.c2
-rw-r--r--coreutils/chown.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index ec1a037..fbc1036 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -34,7 +34,7 @@
#endif
-static long gid = -1;
+static long gid;
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
{
diff --git a/coreutils/chown.c b/coreutils/chown.c
index 9ff2872..0114033 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -33,8 +33,8 @@
#define lchown chown
#endif
-static long uid = -1;
-static long gid = -1;
+static long uid;
+static long gid;
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
{