mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
Rename region macros to eliminate screen argument
This is a combination of a huge mechanical patch and a few small fixups required to finish the job. They were reviewed separately, but because the server does not build without both pieces, I've merged them together at this time. The mechanical changes were performed by running the included 'fix-region' script over the whole tree: $ git ls-files | grep -v '^fix-' | xargs ./fix-region And then, the white space errors in the resulting patch were fixed using the provided fix-patch-whitespace script. $ sh ./fix-patch-whitespace Thanks to Jamey Sharp for the mighty fine sed-generating sed script. The hand-done changes involve removing functions from dix/region.c that duplicate inline functions in include/regionstr.h, along with their declarations in regionstr.h, mi.h and mispans.h. Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
d17e726e89
commit
2dc138922b
130 changed files with 1817 additions and 1865 deletions
17
mi/mi.h
17
mi/mi.h
|
|
@ -418,23 +418,6 @@ extern _X_EXPORT void miPushPixels(
|
|||
int /*yOrg*/
|
||||
);
|
||||
|
||||
/* miregion.c */
|
||||
|
||||
/* see also region.h */
|
||||
|
||||
extern _X_EXPORT Bool RegionRectAlloc(
|
||||
RegionPtr /*pRgn*/,
|
||||
int /*n*/
|
||||
);
|
||||
|
||||
#ifdef DEBUG
|
||||
extern _X_EXPORT Bool RegionIsValid(
|
||||
RegionPtr /*prgn*/
|
||||
);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool RegionBroken(RegionPtr pReg);
|
||||
|
||||
/* miscrinit.c */
|
||||
|
||||
extern _X_EXPORT Bool miModifyPixmapHeader(
|
||||
|
|
|
|||
Loading…
Reference in a new issue