xkb: make XkbFreeGeomRows() static
Only used within one source file. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
e1d5e85f43
commit
98ef5a18ae
|
@ -271,8 +271,8 @@ _XkbClearRow(char *row_in)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
XkbFreeGeomRows(XkbSectionPtr section, int first, int count, Bool freeAll)
|
SrvXkbFreeGeomRows(XkbSectionPtr section, int first, int count, Bool freeAll)
|
||||||
{
|
{
|
||||||
_XkbFreeGeomNonLeafElems(freeAll, first, count,
|
_XkbFreeGeomNonLeafElems(freeAll, first, count,
|
||||||
§ion->num_rows, §ion->sz_rows,
|
§ion->num_rows, §ion->sz_rows,
|
||||||
|
@ -288,7 +288,7 @@ _XkbClearSection(char *section_in)
|
||||||
XkbSectionPtr section = (XkbSectionPtr) section_in;
|
XkbSectionPtr section = (XkbSectionPtr) section_in;
|
||||||
|
|
||||||
if (section->rows != NULL)
|
if (section->rows != NULL)
|
||||||
XkbFreeGeomRows(section, 0, section->num_rows, TRUE);
|
SrvXkbFreeGeomRows(section, 0, section->num_rows, TRUE);
|
||||||
if (section->doodads != NULL) {
|
if (section->doodads != NULL) {
|
||||||
SrvXkbFreeGeomDoodads(section->doodads, section->num_doodads, TRUE);
|
SrvXkbFreeGeomDoodads(section->doodads, section->num_doodads, TRUE);
|
||||||
section->doodads = NULL;
|
section->doodads = NULL;
|
||||||
|
|
|
@ -29,7 +29,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "xkbstr.h"
|
#include "xkbstr.h"
|
||||||
|
|
||||||
#define XkbFreeGeomRows SrvXkbFreeGeomRows
|
|
||||||
#define XkbFreeGeomSections SrvXkbFreeGeomSections
|
#define XkbFreeGeomSections SrvXkbFreeGeomSections
|
||||||
#define XkbFreeGeomPoints SrvXkbFreeGeomPoints
|
#define XkbFreeGeomPoints SrvXkbFreeGeomPoints
|
||||||
#define XkbFreeGeomOutlines SrvXkbFreeGeomOutlines
|
#define XkbFreeGeomOutlines SrvXkbFreeGeomOutlines
|
||||||
|
@ -359,13 +358,6 @@ extern void
|
||||||
Bool /* freeAll */
|
Bool /* freeAll */
|
||||||
);
|
);
|
||||||
|
|
||||||
extern void
|
|
||||||
XkbFreeGeomRows(XkbSectionPtr /* section */ ,
|
|
||||||
int /* first */ ,
|
|
||||||
int /* count */ ,
|
|
||||||
Bool /* freeAll */
|
|
||||||
);
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
XkbFreeGeomSections(XkbGeometryPtr /* geom */ ,
|
XkbFreeGeomSections(XkbGeometryPtr /* geom */ ,
|
||||||
int /* first */ ,
|
int /* first */ ,
|
||||||
|
|
Loading…
Reference in New Issue