diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2026-05-04 18:50:43 +0300 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2026-05-04 19:28:27 +0300 |
| commit | 5b4e73c203f5f4484d66f043f1e9114daefeb632 (patch) | |
| tree | 7ebc46472eeaf730e3be445a162ac98d65aa9afc /scan-tree.h | |
| parent | 829eb0711305e8946fa2f4a1c57c43354f35e208 (diff) | |
cgit: devirtualize repo_config
There's no reason to pass around function pointers. It was never used
for anything beyond one function.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'scan-tree.h')
| -rw-r--r-- | scan-tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scan-tree.h b/scan-tree.h index 1afbd4b..def0a7a 100644 --- a/scan-tree.h +++ b/scan-tree.h @@ -1,2 +1,2 @@ -extern void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn); -extern void scan_tree(const char *path, repo_config_fn fn); +extern void scan_projects(const char *path, const char *projectsfile); +extern void scan_tree(const char *path); |
