xkb: make XkbFreeGeomPoints() static
Only used within one source file. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
220b86f119
commit
5495095e81
|
|
@ -183,8 +183,8 @@ SrvXkbFreeGeomColors(XkbGeometryPtr geom, int first, int count, Bool freeAll)
|
|||
|
||||
/***====================================================================***/
|
||||
|
||||
void
|
||||
XkbFreeGeomPoints(XkbOutlinePtr outline, int first, int count, Bool freeAll)
|
||||
static void
|
||||
SrvXkbFreeGeomPoints(XkbOutlinePtr outline, int first, int count, Bool freeAll)
|
||||
{
|
||||
_XkbFreeGeomLeafElems(freeAll, first, count,
|
||||
&outline->num_points, &outline->sz_points,
|
||||
|
|
@ -200,7 +200,7 @@ _XkbClearOutline(char *outline_in)
|
|||
XkbOutlinePtr outline = (XkbOutlinePtr) outline_in;
|
||||
|
||||
if (outline->points != NULL)
|
||||
XkbFreeGeomPoints(outline, 0, outline->num_points, TRUE);
|
||||
SrvXkbFreeGeomPoints(outline, 0, outline->num_points, TRUE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
#include "xkbstr.h"
|
||||
|
||||
#define XkbFreeGeomPoints SrvXkbFreeGeomPoints
|
||||
#define XkbFreeGeomOutlines SrvXkbFreeGeomOutlines
|
||||
#define XkbFreeGeomShapes SrvXkbFreeGeomShapes
|
||||
#define XkbFreeGeometry SrvXkbFreeGeometry
|
||||
|
|
@ -357,13 +356,6 @@ extern void
|
|||
Bool /* freeAll */
|
||||
);
|
||||
|
||||
extern void
|
||||
XkbFreeGeomPoints(XkbOutlinePtr /* outline */ ,
|
||||
int /* first */ ,
|
||||
int /* count */ ,
|
||||
Bool /* freeAll */
|
||||
);
|
||||
|
||||
extern void
|
||||
XkbFreeGeomOutlines(XkbShapePtr /* shape */ ,
|
||||
int /* first */ ,
|
||||
|
|
|
|||
Loading…
Reference in New Issue