[PATCH libxkbcommon 08/11] Fix all constness warnings
Alan Coopersmith
alan.coopersmith at oracle.com
Sat Feb 25 09:32:39 PST 2012
On 02/25/12 02:13 AM, Ran Benita wrote:
> These are all trivial/obvious fixes which clear a bunch of warnings.
>
> Signed-off-by: Ran Benita<ran234 at gmail.com>
Mostly trivial/obvious - some change the API by changing return types
of extern functions from char * to const char *.
If this was an API that had been established for years that would be
a problem, but since this is a new API still somewhat under development,
I think it's an okay change to make now, before it gets adopted and baked
in by many programs.
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list