diff options
author | Keith Packard <keithp@keithp.com> | 2002-02-15 07:36:14 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2002-02-15 07:36:14 +0000 |
commit | 65018b4a468c3175790dc27dfe37987151ad97d5 (patch) | |
tree | 0984d64b5422e44cac30dba49a7dd82127b2eb1a | |
parent | ccb3e93b2754542d08dcd2572402560d76a8ed91 (diff) |
Update to Xft version 2
-rw-r--r-- | fc-cache/fc-cache.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 6e84ccd..2bb012d 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -47,7 +47,8 @@ extern int optind, opterr, optopt; #endif #endif -void usage (char *program) +static void +usage (char *program) { fprintf (stderr, "usage: %s [-vV?] [--verbose] [--version] [--help] [dirs]\n", program); @@ -65,7 +66,7 @@ main (int argc, char **argv) { int ret = 0; FcFontSet *set; - char **dirs; + FcChar8 **dirs; int verbose = 0; int i; #if HAVE_GETOPT_LONG || HAVE_GETOPT @@ -100,7 +101,7 @@ main (int argc, char **argv) return 1; } if (argv[i]) - dirs = argv+i; + dirs = (FcChar8 **) (argv+i); else dirs = FcConfigGetDirs (0); /* |