From a28202a148508837911c5932a0d14af4b145bece Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 21 Mar 2015 08:19:30 -0700 Subject: [PATCH] Remove remaining doc references to Xalloc, Xrealloc, and Xfree Functions were removed in commit cad9b053d52f62432 Signed-off-by: Alan Coopersmith Reviewed-by: Matt Turner --- doc/Xserver-spec.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml index 4c344194d..72a544b55 100644 --- a/doc/Xserver-spec.xml +++ b/doc/Xserver-spec.xml @@ -1992,7 +1992,7 @@ regions, these blocks may need to be reallocated by your region software. For instance, in the sample server, a RegionRec has some header information and a pointer to a dynamically allocated rectangle list. Periodically, the rectangle list needs to be expanded with -Xrealloc(), whereupon the new pointer is remembered in the RegionRec. +realloc(), whereupon the new pointer is remembered in the RegionRec. Most of the region operations come in two forms: a function pointer in the Screen structure, and a macro. The server can be compiled so that @@ -2598,7 +2598,7 @@ VisualRec data structure along with other display characteristics like the depth and other numbers. The allowable DepthRec's and VisualRec's are pointed to by fields in the ScreenRec. -These are set up when InitOutput() is called; you should Xalloc() appropriate blocks +These are set up when InitOutput() is called; you should malloc() appropriate blocks or use static variables initialized to the correct values.
@@ -3897,7 +3897,7 @@ for CT_NONE, etc. are in Xserver/include/gc.h.) This routine is responsible for incrementing any necessary reference counts (e.g. for a pixmap clip mask) for the new clipmask and freeing anything that used to be in the GC's clipMask field. The lists of rectangles passed -in can be freed with Xfree(), the regions can be destroyed with the +in can be freed with free(), the regions can be destroyed with the RegionDestroy field in the screen, and pixmaps can be destroyed by calling the screen's DestroyPixmap function. DIX and MI code expect what they pass in to this to be freed or otherwise inaccessible, and @@ -5104,9 +5104,6 @@ mi and fb implementations. WaitForSomethingos WindowExposuresmiWindow WriteToClientos -Xallocos -Xfreeos -Xreallocos