X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/70322ae3751bc07ac749dffad79a5f3420e67b55..15e738400fc6d322b0caad7a5a7ef1dcaea5065f:/du.h diff --git a/du.h b/du.h index 9375836..c0b73e8 100644 --- a/du.h +++ b/du.h @@ -21,4 +21,4 @@ typedef int (*gotdata_fn_t)(void *ctx, * Recursively scan a directory tree and report every * space-consuming item in it to gotdata(). */ -void du(char *path, gotdata_fn_t gotdata, void *gotdata_ctx); +void du(const char *path, gotdata_fn_t gotdata, void *gotdata_ctx);