diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2005-10-24 02:18:15 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2005-10-24 02:18:15 +0000 |
| commit | 6d4c63311954fc930881e388c8dedb39fde6e139 (patch) | |
| tree | f73616eaae985872c3aa44a9346534d1ef4d391e | |
| parent | 21910: fix message sequence number for last commit (diff) | |
| download | zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.gz zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.bz2 zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.lz zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.xz zsh-6d4c63311954fc930881e388c8dedb39fde6e139.tar.zst zsh-6d4c63311954fc930881e388c8dedb39fde6e139.zip | |
21912: silence unused parameter compile warnings in cap.c
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Src/Modules/cap.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-10-24 Clint Adams <clint@zsh.org> + + * 21912: Src/Modules/cap.c: silence unused parameter + compile warnings. + 2005-10-23 Bart Schaefer <schaefer@zsh.org> * unposted: Src/prompt.c: fix --disable-multibyte compile error diff --git a/Src/Modules/cap.c b/Src/Modules/cap.c index 4ef8d9cb3..a84e4d246 100644 --- a/Src/Modules/cap.c +++ b/Src/Modules/cap.c @@ -33,7 +33,7 @@ #ifdef HAVE_CAP_GET_PROC static int -bin_cap(char *nam, char **argv, Options ops, int func) +bin_cap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func)) { int ret = 0; cap_t caps; @@ -64,7 +64,7 @@ bin_cap(char *nam, char **argv, Options ops, int func) } static int -bin_getcap(char *nam, char **argv, Options ops, int func) +bin_getcap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func)) { int ret = 0; @@ -85,7 +85,7 @@ bin_getcap(char *nam, char **argv, Options ops, int func) } static int -bin_setcap(char *nam, char **argv, Options ops, int func) +bin_setcap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func)) { cap_t caps; int ret = 0; |
