chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fishdescriptor: When looking for run_dir, look in target root
[chiark-utils.git]
/
cprogs
/
summer.c
diff --git
a/cprogs/summer.c
b/cprogs/summer.c
index 6a1bc3d9bb5106f0e67126fda719cc252a1bfe31..762b5d68812ac0b5e20d86ce65745bb40b6a5e06 100644
(file)
--- a/
cprogs/summer.c
+++ b/
cprogs/summer.c
@@
-319,8
+319,7
@@
static int recurse_filter(const struct dirent *de) {
return 1;
}
-static int recurse_compar(const void *av, const void *bv) {
- const struct dirent *const *a=av, *const *b=bv;
+static int recurse_compar(const struct dirent **a, const struct dirent **b) {
return strcmp((*a)->d_name, (*b)->d_name);
}