dix/mi: still more warning fixes

Fix up prototypes for PrintChildren and PrintWindowTree in the dix.
Make miPrintRegion be unconditionally defined, and move the prototype into
regionstr.h.
Change a bunch of ScreenPtr pScreen = foo; to
ScreenPtr pScreen; pScreen = foo; in window.c, so we avoid unused variable
references (as inline REGION_* doesn't reference pScreen).
This commit is contained in:
Daniel Stone 2006-11-04 21:38:31 +02:00 • committed by Daniel Stone
commit c3ea1f7db4
3 changed files with 19 additions and 12 deletions

View file

@ -321,4 +321,7 @@ extern void miRegionEmpty(
extern BoxPtr miRegionExtents(
RegionPtr /*pReg*/);
extern void miPrintRegion(
RegionPtr /*pReg*/);
#endif /* REGIONSTRUCT_H */