]> git.wh0rd.org - fontconfig.git/blobdiff - doc/edit-sgml.c
Make FcCharSetMerge() public
[fontconfig.git] / doc / edit-sgml.c
index 067626c90fb207f08a218b5ed4e74ce2472498ab..6638a7c7aeb7d4f973901f058ef73f4f132c1780 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id$
+ * fontconfig/doc/edit-sgml.c
  *
  * Copyright © 2003 Keith Packard
  *
@@ -263,6 +263,7 @@ Getc (FILE *f, int *linep)
     int        c = getc (f);
     if (c == '\n')
        ++(*linep);
+    return c;
 }
 
 static void
@@ -524,7 +525,7 @@ main (int argc, char **argv)
     int                iline, oline;
 
     if (!argv[1])
-       Bail ("usage: %s <template.sgml>", 0, argv[0]);
+       Bail ("usage: %*s <template.sgml>", 0, argv[0]);
     f = fopen (argv[1], "r");
     if (!f)
     {