These do not need initial values. Let them live in the bss.
-Erik
This commit is contained in:
parent
defa4f93c2
commit
65504ac12c
2
chgrp.c
2
chgrp.c
@ -34,7 +34,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static long gid = -1;
|
static long gid;
|
||||||
|
|
||||||
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
||||||
{
|
{
|
||||||
|
4
chown.c
4
chown.c
@ -33,8 +33,8 @@
|
|||||||
#define lchown chown
|
#define lchown chown
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static long uid = -1;
|
static long uid;
|
||||||
static long gid = -1;
|
static long gid;
|
||||||
|
|
||||||
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static long gid = -1;
|
static long gid;
|
||||||
|
|
||||||
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
||||||
{
|
{
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#define lchown chown
|
#define lchown chown
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static long uid = -1;
|
static long uid;
|
||||||
static long gid = -1;
|
static long gid;
|
||||||
|
|
||||||
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user