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/terminfo.c | |
| parent | Define the new UNUSED() macro for marking function parameters. (diff) | |
| download | zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.gz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.bz2 zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.lz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.xz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.zst zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.zip | |
Marked unused parameters with the new UNUSED() macro.
Diffstat (limited to 'Src/Modules/terminfo.c')
| -rw-r--r-- | Src/Modules/terminfo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/terminfo.c b/Src/Modules/terminfo.c index 8b0ac6307..6e9e32588 100644 --- a/Src/Modules/terminfo.c +++ b/Src/Modules/terminfo.c @@ -61,7 +61,7 @@ static Param terminfo_pm; /**/ static int -bin_echoti(char *name, char **argv, Options ops, int func) +bin_echoti(char *name, char **argv, UNUSED(Options ops), UNUSED(int func)) { char *s, *t, **u; int arg, num, strarg = 0; @@ -187,7 +187,7 @@ createtihash() /**/ static HashNode -getterminfo(HashTable ht, char *name) +getterminfo(UNUSED(HashTable ht), char *name) { int len, num; char *tistr; @@ -243,7 +243,7 @@ getterminfo(HashTable ht, char *name) /**/ static void -scanterminfo(HashTable ht, ScanFunc func, int flags) +scanterminfo(UNUSED(HashTable ht), ScanFunc func, int flags) { Param pm = NULL; int num; @@ -369,7 +369,7 @@ scanterminfo(HashTable ht, ScanFunc func, int flags) /**/ int -setup_(Module m) +setup_(UNUSED(Module m)) { return 0; } @@ -413,7 +413,7 @@ cleanup_(Module m) /**/ int -finish_(Module m) +finish_(UNUSED(Module m)) { return 0; } |
