Now every action is encapsulated as a command-line option and its
[sgt/agedu] / du.h
diff --git a/du.h b/du.h
index 9375836..c0b73e8 100644 (file)
--- 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);