mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 15:10:02 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -89,5 +89,5 @@ BEGIN {
|
|||
|
||||
END {
|
||||
print "};"
|
||||
printf "const int xf86NumDefaultModes = ARRAY_SIZE(xf86DefaultModes);"
|
||||
print "const int xf86NumDefaultModes = ARRAY_SIZE(xf86DefaultModes);"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue