diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | fc-cat/fc-cat.c | 10 | ||||
-rw-r--r-- | fc-glyphname/fc-glyphname.c | 10 |
3 files changed, 16 insertions, 10 deletions
@@ -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); |