| … | |
… | |
| 11 | #define _IN_LIBRC |
11 | #define _IN_LIBRC |
| 12 | |
12 | |
| 13 | #include <sys/stat.h> |
13 | #include <sys/stat.h> |
| 14 | #include <sys/time.h> |
14 | #include <sys/time.h> |
| 15 | #include <sys/types.h> |
15 | #include <sys/types.h> |
| 16 | #include <sys/utsname.h> |
|
|
| 17 | #include <sys/wait.h> |
16 | #include <sys/wait.h> |
| 18 | |
|
|
| 19 | #ifdef __linux__ |
|
|
| 20 | #include <sys/sysinfo.h> |
|
|
| 21 | #endif |
|
|
| 22 | |
17 | |
| 23 | #include <dirent.h> |
18 | #include <dirent.h> |
| 24 | #include <errno.h> |
19 | #include <errno.h> |
| 25 | #include <fcntl.h> |
20 | #include <fcntl.h> |
| 26 | #include <libgen.h> |
21 | #include <libgen.h> |
| … | |
… | |
| 59 | librc_hidden_proto(rc_deptree_load) |
54 | librc_hidden_proto(rc_deptree_load) |
| 60 | librc_hidden_proto(rc_deptree_order_services) |
55 | librc_hidden_proto(rc_deptree_order_services) |
| 61 | librc_hidden_proto(rc_deptree_update) |
56 | librc_hidden_proto(rc_deptree_update) |
| 62 | librc_hidden_proto(rc_deptree_update_needed) |
57 | librc_hidden_proto(rc_deptree_update_needed) |
| 63 | librc_hidden_proto(rc_env_bool) |
58 | librc_hidden_proto(rc_env_bool) |
| 64 | librc_hidden_proto(rc_env_config) |
|
|
| 65 | librc_hidden_proto(rc_env_filter) |
|
|
| 66 | librc_hidden_proto(rc_exists) |
|
|
| 67 | librc_hidden_proto(rc_find_pids) |
59 | librc_hidden_proto(rc_find_pids) |
| 68 | librc_hidden_proto(rc_runlevel_exists) |
60 | librc_hidden_proto(rc_runlevel_exists) |
| 69 | librc_hidden_proto(rc_runlevel_get) |
61 | librc_hidden_proto(rc_runlevel_get) |
| 70 | librc_hidden_proto(rc_runlevel_list) |
62 | librc_hidden_proto(rc_runlevel_list) |
| 71 | librc_hidden_proto(rc_runlevel_set) |
63 | librc_hidden_proto(rc_runlevel_set) |