diff options
| author | Oliver Kiddle <opk@zsh.org> | 2025-11-17 05:14:12 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-11-17 05:14:12 +0100 |
| commit | 5e3aadfffded0edad99a484c4421ab449b15746c (patch) | |
| tree | 96ccda6b6010c59506b5e86ecbee5db6802700c8 /Src/prompt.c | |
| parent | github #151: Typo correct name in ChangeLog (diff) | |
| download | zsh-5e3aadfffded0edad99a484c4421ab449b15746c.tar zsh-5e3aadfffded0edad99a484c4421ab449b15746c.tar.gz zsh-5e3aadfffded0edad99a484c4421ab449b15746c.tar.bz2 zsh-5e3aadfffded0edad99a484c4421ab449b15746c.tar.lz zsh-5e3aadfffded0edad99a484c4421ab449b15746c.tar.xz zsh-5e3aadfffded0edad99a484c4421ab449b15746c.tar.zst zsh-5e3aadfffded0edad99a484c4421ab449b15746c.zip | |
unposted: silence compiler warning on new code
Diffstat (limited to 'Src/prompt.c')
| -rw-r--r-- | Src/prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/prompt.c b/Src/prompt.c index c3c34abf2..8325bfe2c 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -1764,7 +1764,7 @@ tunsetattrs(zattr newattrs) txtpendingattrs &= ~TXT_ATTR_BG_MASK; } -void +static void map256toRGB(zattr *atr, int shift, zattr set24) { unsigned colour, red, green, blue; @@ -1932,7 +1932,7 @@ match_named_colour(const char **teststrp) /**/ static int -truecolor_terminal() +truecolor_terminal(void) { char **f, **flist = getaparam(".term.extensions"); int result; |
