summaryrefslogtreecommitdiff
path: root/src/FreeType/xttcap.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-10-25 23:56:55 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-11-01 22:19:19 -0700
commit8a9fc31628a98e3cdaae6078bb5d92bce06c37ac (patch)
tree7c84bdff080ed227e91ca448bb58dbcdb895174a /src/FreeType/xttcap.c
parent8b289e10c5013cdcbf817c06bd929e3ea8339987 (diff)
xstrdup -> strdup
Missed in xalloc -> malloc etal conversion in 0cdc9b8f850342 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Diffstat (limited to 'src/FreeType/xttcap.c')
-rw-r--r--src/FreeType/xttcap.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/FreeType/xttcap.c b/src/FreeType/xttcap.c
index bf25cc5..c1d8e67 100644
--- a/src/FreeType/xttcap.c
+++ b/src/FreeType/xttcap.c
@@ -682,24 +682,4 @@ SPropRecValList_add_by_font_cap(SDynPropRecValList *pThisList,
return result;
}
-
-/**************************************************************************
- Functions (xttmisc)
- */
-
-/* strdup clone with using the allocator of X server */
-char *
-XttXstrdup(char const *str)
-{
- char *result;
-
- result = malloc(strlen(str)+1);
-
- if (result)
- strcpy(result, str);
-
- return result;
-}
-
-
/* end of file */