X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/cfe942fb3391ae80e816272d7baa45be30e5e7ec..444c684cc23aa1fbc8a75901a0a77283c082b4aa:/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);