]> git.ozlabs.org Git - ccan/blobdiff - tools/manifest.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / tools / manifest.c
index d3245ca527fa946e98e4ae639b04331ee57d1b59..82668acfed05fd43eab6b59c7d61dba4f258652f 100644 (file)
@@ -167,7 +167,7 @@ static void add_files(struct manifest *m, const char *base, const char *subdir)
                if (!m->info_file
                    && list_empty(&m->c_files)
                    && list_empty(&m->h_files))
-                       errx(1, "No _info, C or H files found here!");
+                       errx(1, "No _info, C or H files found in %s", thisdir);
 
                /* Don't enter subdirs with _info: they're separate modules. */
                for (i = 0; i < tal_count(subs); i++) {
@@ -183,7 +183,7 @@ static void add_files(struct manifest *m, const char *base, const char *subdir)
 }
 
 static int cmp_names(struct ccan_file *const *a, struct ccan_file *const *b,
-                    void *unused)
+                    void *unused UNNEEDED)
 {
        return strcmp((*a)->name, (*b)->name);
 }