diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-04-30 18:07:24 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-04-30 18:07:24 +0000 |
| commit | 65504ac12cdc4eff0a98fd50fff1a019fbb77f1b (patch) | |
| tree | 5f04de9cbf691fcedc047fe998e460b347979bd9 | |
| parent | defa4f93c2b2edb5f19940cd63017d17da4866de (diff) | |
| download | busybox-w32-65504ac12cdc4eff0a98fd50fff1a019fbb77f1b.tar.gz busybox-w32-65504ac12cdc4eff0a98fd50fff1a019fbb77f1b.tar.bz2 busybox-w32-65504ac12cdc4eff0a98fd50fff1a019fbb77f1b.zip | |
These do not need initial values. Let them live in the bss.
-Erik
| -rw-r--r-- | chgrp.c | 2 | ||||
| -rw-r--r-- | chown.c | 4 | ||||
| -rw-r--r-- | coreutils/chgrp.c | 2 | ||||
| -rw-r--r-- | coreutils/chown.c | 4 |
4 files changed, 6 insertions, 6 deletions
| @@ -34,7 +34,7 @@ | |||
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | static long gid = -1; | 37 | static long gid; |
| 38 | 38 | ||
| 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |
| 40 | { | 40 | { |
| @@ -33,8 +33,8 @@ | |||
| 33 | #define lchown chown | 33 | #define lchown chown |
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | static long uid = -1; | 36 | static long uid; |
| 37 | static long gid = -1; | 37 | static long gid; |
| 38 | 38 | ||
| 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |
| 40 | { | 40 | { |
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index ec1a0370c..fbc1036a8 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | static long gid = -1; | 37 | static long gid; |
| 38 | 38 | ||
| 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |
| 40 | { | 40 | { |
diff --git a/coreutils/chown.c b/coreutils/chown.c index 9ff287251..011403378 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c | |||
| @@ -33,8 +33,8 @@ | |||
| 33 | #define lchown chown | 33 | #define lchown chown |
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | static long uid = -1; | 36 | static long uid; |
| 37 | static long gid = -1; | 37 | static long gid; |
| 38 | 38 | ||
| 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 39 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |
| 40 | { | 40 | { |
