diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2004-06-02 22:14:25 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2004-06-02 22:14:25 +0000 |
commit | fb0937a69eb38e744577aa94a6338135f6c1c9b4 (patch) | |
tree | 70c7404736602da0e91710dc3a991e3d2dc5377a /Src/Modules/zpty.c | |
parent | 30a139fe894f76ad256281b60a36c693bc561245 (diff) | |
download | zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.gz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.xz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.zip |
Marked unused parameters with the new UNUSED() macro.
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r-- | Src/Modules/zpty.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 360d1cc63..fce09a02a 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -622,7 +622,7 @@ ptywrite(Ptycmd cmd, char **args, int nonl) /**/ static int -bin_zpty(char *nam, char **args, Options ops, int func) +bin_zpty(char *nam, char **args, Options ops, UNUSED(int func)) { if ((OPT_ISSET(ops,'r') && OPT_ISSET(ops,'w')) || ((OPT_ISSET(ops,'r') || OPT_ISSET(ops,'w')) && @@ -721,7 +721,7 @@ bin_zpty(char *nam, char **args, Options ops, int func) } static int -ptyhook(Hookdef d, void *dummy) +ptyhook(UNUSED(Hookdef d), UNUSED(void *dummy)) { deleteallptycmds(); return 0; @@ -733,7 +733,7 @@ static struct builtin bintab[] = { /**/ int -setup_(Module m) +setup_(UNUSED(Module m)) { return 0; } @@ -760,7 +760,7 @@ cleanup_(Module m) /**/ int -finish_(Module m) +finish_(UNUSED(Module m)) { return 0; } |