diff options
author | marha <marha@users.sourceforge.net> | 2012-04-20 17:39:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-04-20 17:39:44 +0200 |
commit | 588abfd54eb267dd79fe441e42aee9fc7534eb6e (patch) | |
tree | 71e38b483befaa2def58919fa07b073a68fe1f15 /xorg-server/dix | |
parent | ae228baa2cfe88bd7c7de40d5038ad2cc1ecffa4 (diff) | |
download | vcxsrv-588abfd54eb267dd79fe441e42aee9fc7534eb6e.tar.gz vcxsrv-588abfd54eb267dd79fe441e42aee9fc7534eb6e.tar.bz2 vcxsrv-588abfd54eb267dd79fe441e42aee9fc7534eb6e.zip |
Solved compilation errors and warnings due to latest commit
Diffstat (limited to 'xorg-server/dix')
-rw-r--r-- | xorg-server/dix/resource.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/xorg-server/dix/resource.c b/xorg-server/dix/resource.c index 1ab06d51d..c04b5578e 100644 --- a/xorg-server/dix/resource.c +++ b/xorg-server/dix/resource.c @@ -432,65 +432,65 @@ FindGCSubRes(pointer value, FindAllRes func, pointer cdata) static struct ResourceType *resourceTypes; static const struct ResourceType predefTypes[] = { - /* [RT_NONE & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */(DeleteType)NoopDDA, + /* [RT_NONE & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */(DeleteType)NoopDDA, /*.sizeFunc = */GetDefaultBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadValue, + /*.errorValue = */BadValue, }, - /* [RT_WINDOW & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */DeleteWindow, + /* [RT_WINDOW & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */DeleteWindow, /*.sizeFunc = */GetWindowBytes, /*.findSubResFunc = */FindWindowSubRes, - /*.errorValue = */BadWindow, + /*.errorValue = */BadWindow, }, - /* [RT_PIXMAP & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */dixDestroyPixmap, + /* [RT_PIXMAP & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */dixDestroyPixmap, /*.sizeFunc = */GetPixmapBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadPixmap, + /*.errorValue = */BadPixmap, }, - /* [RT_GC & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */FreeGC, + /* [RT_GC & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */FreeGC, /*.sizeFunc = */GetGcBytes, /*.findSubResFunc = */FindGCSubRes, - /*.errorValue = */BadGC, + /*.errorValue = */BadGC, }, - /* [RT_FONT & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */CloseFont, + /* [RT_FONT & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */CloseFont, /*.sizeFunc = */GetDefaultBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadFont, + /*.errorValue = */BadFont, }, - /* [RT_CURSOR & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */FreeCursor, + /* [RT_CURSOR & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */FreeCursor, /*.sizeFunc = */GetDefaultBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadCursor, + /*.errorValue = */BadCursor, }, - /* [RT_COLORMAP & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */FreeColormap, + /* [RT_COLORMAP & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */FreeColormap, /*.sizeFunc = */GetDefaultBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadColor, + /*.errorValue = */BadColor, }, - /* [RT_CMAPENTRY & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */FreeClientPixels, + /* [RT_CMAPENTRY & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */FreeClientPixels, /*.sizeFunc = */GetDefaultBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadColor, + /*.errorValue = */BadColor, }, - /* [RT_OTHERCLIENT & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */OtherClientGone, + /* [RT_OTHERCLIENT & (RC_LASTPREDEF - 1)] = */ { + /*.deleteFunc = */OtherClientGone, /*.sizeFunc = */GetDefaultBytes, /*.findSubResFunc = */DefaultFindSubRes, - /*.errorValue = */BadValue, + /*.errorValue = */BadValue, }, - /* [RT_PASSIVEGRAB & (RC_LASTPREDEF - 1)] = */ { - /*.deleteFunc = */DeletePassiveGrab, + /* [RT_PASSIVEGRAB & (RC_LASTPREDEF - 1)] = */ { /*.deleteFunc = */DeletePassiveGrab, /*.sizeFunc = */GetDefaultBytes, - /*.errorValue = */BadValue, + /*.findSubResFunc = */DefaultFindSubRes, + /*.errorValue = */BadValue, }, }; |