mirror of
https://github.com/troglobit/finit.git
synced 2026-11-20 19:41:51 +00:00
Refactor: drop do_ prefix from iterate_proc() and switch_root()
The do_ prefix is conventionally reserved for local helper functions. Move switch_root() declaration to private.h alongside iterate_proc() and remove the now-empty initramfs.h header.
This commit is contained in:
1 parent
373738f3d1
commit
8e7d1b7bb5
6 files changed
+13
-50
No files matched your search
+2
-1
@@ -59,7 +59,8 @@ void plugin_script_run(hook_point_t no);
|
||||
int plugin_init (uev_ctx_t *ctx);
|
||||
void plugin_exit (void);
|
||||
|
||||
void do_iterate_proc (int (*cb)(int, void *), void *data);
|
||||
void iterate_proc (int (*cb)(int, void *), void *data);
|
||||
int switch_root (const char *newroot, const char *newinit);
|
||||
|
||||
#endif /* FINIT_PRIVATE_H_ */
|
||||
|
||||
|
||||
Reference in new issue
Block a user