summaryrefslogtreecommitdiff
path: root/src/fcmatrix.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-05 02:24:01 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-05 02:24:01 -0700
commit23816bf9acbd6cc5dd942daaba3cc084ea70d99d (patch)
tree8a3eaada0d114322b26e2def7ba8d2809bccc7d8 /src/fcmatrix.c
parent323ecd0cd3b8eeb50c4af87d57f2ea7b19f37215 (diff)
downloadfontconfig-23816bf9acbd6cc5dd942daaba3cc084ea70d99d.tar.gz
Eliminate .so PLT entries for local symbols. (thanks to Arjan van de Ven)
Using a simple shell script that processes the public headers, two header files are constructed that map public symbols to hidden internal aliases avoiding the assocated PLT entry for referring to a public symbol. A few mistakes in the FcPrivate/FcPublic annotations were also discovered through this process
Diffstat (limited to 'src/fcmatrix.c')
-rw-r--r--src/fcmatrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fcmatrix.c b/src/fcmatrix.c
index 3c4d9fb..7f55146 100644
--- a/src/fcmatrix.c
+++ b/src/fcmatrix.c
@@ -115,3 +115,6 @@ FcMatrixShear (FcMatrix *m, double sh, double sv)
r.yy = 1;
FcMatrixMultiply (m, &r, m);
}
+#define __fcmatrix__
+#include "fcaliastail.h"
+#undef __fcmatrix__