1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-12-02 16:40:53 +01:00

unposted: silence compiler warning on new code

This commit is contained in:
Oliver Kiddle 2025-11-17 05:14:12 +01:00
parent 9dbcee34bb
commit 5e3aadfffd
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2025-11-17 Oliver Kiddle <opk@zsh.org>
* unposted: Src/prompt.c: silence compiler warning on new code
* Christopher Bock: 54085: Completion/Unix/Command/_tput:
complete tput -v option on Linux

View file

@ -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;