Age | Commit message (Collapse) | Author |
|
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>
|
|
Fix warning on unused variable "value".
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Fix a a lot warnings on duplicate forward declarations.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
Be smarter about how gamma is saved and restored by checking the bits.
|
|
This closes bug 8290 by applying the patch from Andres Salomon.
|
|
Final commit of cleanup fixes prior to pushing
|
|
|