summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--fc-cat/fc-cat.c10
-rw-r--r--fc-glyphname/fc-glyphname.c10
3 files changed, 16 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index a8b2e5b1..e4f4d8da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
2006-03-03 Patrick Lam <plam@mit.edu>
+ * fc-cat/fc-cat.c (FcFileIsDir):
+ * fc-glyphname/fc-flyphname.c:
+
+ More stub definitions and remove FcFileIsDir from fc-cat.
+
+2006-03-03 Patrick Lam <plam@mit.edu>
* fc-case/fc-case.c:
Fix compilation on AIX with stub definitions (bug 6097).
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c
index 0bcc4854..24f8a44d 100644
--- a/fc-cat/fc-cat.c
+++ b/fc-cat/fc-cat.c
@@ -377,16 +377,6 @@ bail2:
return FcFalse;
}
-FcBool
-FcFileIsDir (const FcChar8 *file)
-{
- struct stat statb;
-
- if (stat ((const char *) file, &statb) != 0)
- return FcFalse;
- return S_ISDIR(statb.st_mode);
-}
-
int
main (int argc, char **argv)
{
diff --git a/fc-glyphname/fc-glyphname.c b/fc-glyphname/fc-glyphname.c
index 47d86e39..31dff12e 100644
--- a/fc-glyphname/fc-glyphname.c
+++ b/fc-glyphname/fc-glyphname.c
@@ -24,6 +24,16 @@
#include "fcint.h"
+/* stub definitions for declarations from fcint.h.. */
+int * _fcBankId = 0, * _fcBankIdx = 0;
+
+int
+FcCacheBankToIndexMTF (int bank)
+{
+ return 0;
+}
+/* end stub definitions */
+
static int
rawindex (const FcGlyphName *gn);