xfree86: make modeline2c.awk put a newline at the end of xf86DefModeSet.c
Clears warning from clang 19.1.7:
hw/xfree86/common/xf86DefModeSet.c:288:62:
warning: no newline at end of file [-Wnewline-eof]
288 | const int xf86NumDefaultModes = ARRAY_SIZE(xf86DefaultModes);
| ^
Fixes: 3bf7ff703
("Size xf86DefaultModes explicitly.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1910>
This commit is contained in:
parent
dfbc672e85
commit
f9d25189fa
|
@ -89,5 +89,5 @@ BEGIN {
|
||||||
|
|
||||||
END {
|
END {
|
||||||
print "};"
|
print "};"
|
||||||
printf "const int xf86NumDefaultModes = ARRAY_SIZE(xf86DefaultModes);"
|
print "const int xf86NumDefaultModes = ARRAY_SIZE(xf86DefaultModes);"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue