summaryrefslogtreecommitdiff
path: root/src/panel
AgeCommit message (Collapse)AuthorFilesLines
2024-10-13Run ../modular/x-indent-all.sh inside this driver's tree.HEADmasterMartin-Éric Racine6-13/+13
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
2024-06-24Suppress majority of compiler warningsConnor Behan2-8/+6
This applies some obvious changes to stop gcc from complaining about dead code, shadow declarations, differing signedness and sections that mix declarations with code. The warning about discarding const qualifiers is more annoying because we pass string literals to some functions which accept non-const pointers. Currently, this takes the following approach. If the function *needs* to accept non-const pointers, cast the string literal as char *. Otherwise, change the function to only accept a const pointer. To anticipate future use cases though, I could also leave function definitions as they are and just always cast string literals. Alternatively, if this is more trouble that it is worth, we could just put up with the warnings. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith3-5/+5
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-11Whitespace cleanup using ../modular/x-indent.shMartin-Éric Racine15-458/+451
2010-08-09Correct two outstanding compiler warningsFrank Huang1-1/+1
*Correct the type from "Q_WORD" to "QQ_WORD" in panel.c *Correct the tyep from "char" to "const char" in z4l.c Signed-off-by: Frank Huang <frankr.huang@amd.com>
2008-01-14Basic OLPC support from Bernardo Innocenti and Jordan Crouse.xf86-video-amd-2.7.7.5Martin-Éric Racine1-1/+1
2007-05-31Add extra GCC warning fu. -Wall cleanup.Adam Jackson1-1/+1
2006-09-28Update for 7.2 - fix config.h and other include problems.Jordan Crouse2-7/+2
This closes bug 8290 by applying the patch from Andres Salomon.
2006-07-06Initial commit of the xf86-video-amd treeJordan Crouse16-0/+4883