[PATCH:xfs 2/7] Delete unused function CopyCharInfo

Alan Coopersmith alan.coopersmith at oracle.com
Sat Jan 19 23:03:50 PST 2013


Can find no record of this being used in current git repo (back to X11R6.6)

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 difs/fontinfo.c |   15 ---------------
 include/difs.h  |    1 -
 2 files changed, 16 deletions(-)

diff --git a/difs/fontinfo.c b/difs/fontinfo.c
index 9c3e374..c5269bc 100644
--- a/difs/fontinfo.c
+++ b/difs/fontinfo.c
@@ -74,21 +74,6 @@ in this Software without prior written authorization from The Open Group.
 # endif
 #endif
 
-void
-CopyCharInfo(
-    CharInfoPtr ci,
-    fsXCharInfo *dst)
-{
-    xCharInfo  *src = &ci->metrics;
-
-    dst->ascent = src->ascent;
-    dst->descent = src->descent;
-    dst->left = src->leftSideBearing;
-    dst->right = src->rightSideBearing;
-    dst->width = src->characterWidth;
-    dst->attributes = src->attributes;
-}
-
 
 int
 convert_props(
diff --git a/include/difs.h b/include/difs.h
index 8ec255c..4b6c216 100644
--- a/include/difs.h
+++ b/include/difs.h
@@ -74,7 +74,6 @@ extern FontPtr find_old_font ( FSID id );
 extern void DeleteClientFontStuff ( ClientPtr client );
 
 /* difs/fontinfo.c */
-extern void CopyCharInfo ( CharInfoPtr ci, fsXCharInfo *dst );
 extern int convert_props ( FontInfoPtr pinfo, fsPropInfo **props );
 extern int QueryExtents ( ClientPtr client, ClientFontPtr cfp, int item_size, int nranges, Bool range_flag, pointer range_data );
 extern int QueryBitmaps ( ClientPtr client, ClientFontPtr cfp, int item_size, fsBitmapFormat format, int nranges, Bool range_flag, pointer range_data );
-- 
1.7.9.2



More information about the xorg-devel mailing list