diff options
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Src/glob.c b/Src/glob.c index 8eca74cb2..85111a190 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -2560,7 +2560,7 @@ remnulargs(char *s) /**/ static int -qualdev(char *name, struct stat *buf, off_t dv, char *dummy) +qualdev(UNUSED(char *name), struct stat *buf, off_t dv, UNUSED(char *dummy)) { return (off_t)buf->st_dev == dv; } @@ -2569,7 +2569,7 @@ qualdev(char *name, struct stat *buf, off_t dv, char *dummy) /**/ static int -qualnlink(char *name, struct stat *buf, off_t ct, char *dummy) +qualnlink(UNUSED(char *name), struct stat *buf, off_t ct, UNUSED(char *dummy)) { return (g_range < 0 ? buf->st_nlink < ct : g_range > 0 ? buf->st_nlink > ct : @@ -2580,7 +2580,7 @@ qualnlink(char *name, struct stat *buf, off_t ct, char *dummy) /**/ static int -qualuid(char *name, struct stat *buf, off_t uid, char *dummy) +qualuid(UNUSED(char *name), struct stat *buf, off_t uid, UNUSED(char *dummy)) { return buf->st_uid == uid; } @@ -2589,7 +2589,7 @@ qualuid(char *name, struct stat *buf, off_t uid, char *dummy) /**/ static int -qualgid(char *name, struct stat *buf, off_t gid, char *dummy) +qualgid(UNUSED(char *name), struct stat *buf, off_t gid, UNUSED(char *dummy)) { return buf->st_gid == gid; } @@ -2598,7 +2598,7 @@ qualgid(char *name, struct stat *buf, off_t gid, char *dummy) /**/ static int -qualisdev(char *name, struct stat *buf, off_t junk, char *dummy) +qualisdev(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISBLK(buf->st_mode) || S_ISCHR(buf->st_mode); } @@ -2607,7 +2607,7 @@ qualisdev(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualisblk(char *name, struct stat *buf, off_t junk, char *dummy) +qualisblk(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISBLK(buf->st_mode); } @@ -2616,7 +2616,7 @@ qualisblk(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualischr(char *name, struct stat *buf, off_t junk, char *dummy) +qualischr(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISCHR(buf->st_mode); } @@ -2625,7 +2625,7 @@ qualischr(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualisdir(char *name, struct stat *buf, off_t junk, char *dummy) +qualisdir(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISDIR(buf->st_mode); } @@ -2634,7 +2634,7 @@ qualisdir(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualisfifo(char *name, struct stat *buf, off_t junk, char *dummy) +qualisfifo(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISFIFO(buf->st_mode); } @@ -2643,7 +2643,7 @@ qualisfifo(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualislnk(char *name, struct stat *buf, off_t junk, char *dummy) +qualislnk(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISLNK(buf->st_mode); } @@ -2652,7 +2652,7 @@ qualislnk(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualisreg(char *name, struct stat *buf, off_t junk, char *dummy) +qualisreg(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISREG(buf->st_mode); } @@ -2661,7 +2661,7 @@ qualisreg(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualissock(char *name, struct stat *buf, off_t junk, char *dummy) +qualissock(UNUSED(char *name), struct stat *buf, UNUSED(off_t junk), UNUSED(char *dummy)) { return S_ISSOCK(buf->st_mode); } @@ -2670,7 +2670,7 @@ qualissock(char *name, struct stat *buf, off_t junk, char *dummy) /**/ static int -qualflags(char *name, struct stat *buf, off_t mod, char *dummy) +qualflags(UNUSED(char *name), struct stat *buf, off_t mod, UNUSED(char *dummy)) { return mode_to_octal(buf->st_mode) & mod; } @@ -2679,7 +2679,7 @@ qualflags(char *name, struct stat *buf, off_t mod, char *dummy) /**/ static int -qualmodeflags(char *name, struct stat *buf, off_t mod, char *dummy) +qualmodeflags(UNUSED(char *name), struct stat *buf, off_t mod, UNUSED(char *dummy)) { long v = mode_to_octal(buf->st_mode), y = mod & 07777, n = mod >> 12; @@ -2690,7 +2690,7 @@ qualmodeflags(char *name, struct stat *buf, off_t mod, char *dummy) /**/ static int -qualiscom(char *name, struct stat *buf, off_t mod, char *dummy) +qualiscom(UNUSED(char *name), struct stat *buf, UNUSED(off_t mod), UNUSED(char *dummy)) { return S_ISREG(buf->st_mode) && (buf->st_mode & S_IXUGO); } @@ -2699,7 +2699,7 @@ qualiscom(char *name, struct stat *buf, off_t mod, char *dummy) /**/ static int -qualsize(char *name, struct stat *buf, off_t size, char *dummy) +qualsize(UNUSED(char *name), struct stat *buf, off_t size, UNUSED(char *dummy)) { #if defined(LONG_IS_64_BIT) || defined(OFF_T_IS_64_BIT) # define QS_CAST_SIZE() @@ -2734,7 +2734,7 @@ qualsize(char *name, struct stat *buf, off_t size, char *dummy) /**/ static int -qualtime(char *name, struct stat *buf, off_t days, char *dummy) +qualtime(UNUSED(char *name), struct stat *buf, off_t days, UNUSED(char *dummy)) { time_t now, diff; @@ -2769,7 +2769,7 @@ qualtime(char *name, struct stat *buf, off_t days, char *dummy) /**/ static int -qualsheval(char *name, struct stat *buf, off_t days, char *str) +qualsheval(char *name, UNUSED(struct stat *buf), UNUSED(off_t days), char *str) { Eprog prog; @@ -2805,7 +2805,7 @@ qualsheval(char *name, struct stat *buf, off_t days, char *str) /**/ static int -qualnonemptydir(char *name, struct stat *buf, off_t days, char *str) +qualnonemptydir(char *name, struct stat *buf, UNUSED(off_t days), UNUSED(char *str)) { DIR *dirh; struct dirent *de; |