Created attachment 15198 [details] [review]
Follow pattern already used and declare functions as static to avoid
warnings about missing prototypes.
Cast some printf arguments. Only possible problem could be changing
*(INT32 *) to *(int *), but it is only printf arguments, and I don't
think Xorg supports any architecture where int isn't a 32 bits integer.
This fixes all compile warnings.
Already corrected in git master.