diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 15:57:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 15:57:44 +0100 |
commit | 60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch) | |
tree | 493e30821f3d484b7395ce9d9e4be39ec9a43126 /miscutils/devfsd.c | |
parent | b8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff) | |
download | busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2 busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip |
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 6493fe4f1..2e87261cf 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -219,7 +219,7 @@ static void action_execute(const struct devfsd_notify_struct *, const struct con | |||
219 | const regmatch_t *, unsigned); | 219 | const regmatch_t *, unsigned); |
220 | static void action_modload(const struct devfsd_notify_struct *info, const struct config_entry_struct *entry); | 220 | static void action_modload(const struct devfsd_notify_struct *info, const struct config_entry_struct *entry); |
221 | static void action_copy(const struct devfsd_notify_struct *, const struct config_entry_struct *, | 221 | static void action_copy(const struct devfsd_notify_struct *, const struct config_entry_struct *, |
222 | const regmatch_t *, unsigned); | 222 | const regmatch_t *, unsigned); |
223 | static void action_compat(const struct devfsd_notify_struct *, unsigned); | 223 | static void action_compat(const struct devfsd_notify_struct *, unsigned); |
224 | static void free_config(void); | 224 | static void free_config(void); |
225 | static void restore(char *spath, struct stat source_stat, int rootlen); | 225 | static void restore(char *spath, struct stat source_stat, int rootlen); |
@@ -229,12 +229,12 @@ static void signal_handler(int); | |||
229 | static const char *get_variable(const char *, void *); | 229 | static const char *get_variable(const char *, void *); |
230 | static int make_dir_tree(const char *); | 230 | static int make_dir_tree(const char *); |
231 | static int expand_expression(char *, unsigned, const char *, const char *(*)(const char *, void *), void *, | 231 | static int expand_expression(char *, unsigned, const char *, const char *(*)(const char *, void *), void *, |
232 | const char *, const regmatch_t *, unsigned); | 232 | const char *, const regmatch_t *, unsigned); |
233 | static void expand_regexp(char *, size_t, const char *, const char *, const regmatch_t *, unsigned); | 233 | static void expand_regexp(char *, size_t, const char *, const char *, const regmatch_t *, unsigned); |
234 | static const char *expand_variable( char *, unsigned, unsigned *, const char *, | 234 | static const char *expand_variable( char *, unsigned, unsigned *, const char *, |
235 | const char *(*)(const char *, void *), void *); | 235 | const char *(*)(const char *, void *), void *); |
236 | static const char *get_variable_v2(const char *, const char *(*)(const char *, void *), void *); | 236 | static const char *get_variable_v2(const char *, const char *(*)(const char *, void *), void *); |
237 | static char get_old_ide_name(unsigned , unsigned); | 237 | static char get_old_ide_name(unsigned, unsigned); |
238 | static char *write_old_sd_name(char *, unsigned, unsigned, const char *); | 238 | static char *write_old_sd_name(char *, unsigned, unsigned, const char *); |
239 | 239 | ||
240 | /* busybox functions */ | 240 | /* busybox functions */ |
@@ -580,9 +580,9 @@ static void process_config_line(const char *line, unsigned long *event_mask) | |||
580 | /*This action will pass "/dev/$devname"(i.e. "/dev/" prefixed to | 580 | /*This action will pass "/dev/$devname"(i.e. "/dev/" prefixed to |
581 | the device name) to the module loading facility. In addition, | 581 | the device name) to the module loading facility. In addition, |
582 | the /etc/modules.devfs configuration file is used.*/ | 582 | the /etc/modules.devfs configuration file is used.*/ |
583 | if (ENABLE_DEVFSD_MODLOAD) | 583 | if (ENABLE_DEVFSD_MODLOAD) |
584 | new->action.what = AC_MODLOAD; | 584 | new->action.what = AC_MODLOAD; |
585 | break; | 585 | break; |
586 | case 6: /* EXECUTE */ | 586 | case 6: /* EXECUTE */ |
587 | new->action.what = AC_EXECUTE; | 587 | new->action.what = AC_EXECUTE; |
588 | num_args -= 3; | 588 | num_args -= 3; |
@@ -750,7 +750,7 @@ static void action_permissions(const struct devfsd_notify_struct *info, | |||
750 | } /* End Function action_permissions */ | 750 | } /* End Function action_permissions */ |
751 | 751 | ||
752 | static void action_modload(const struct devfsd_notify_struct *info, | 752 | static void action_modload(const struct devfsd_notify_struct *info, |
753 | const struct config_entry_struct *entry UNUSED_PARAM) | 753 | const struct config_entry_struct *entry UNUSED_PARAM) |
754 | /* [SUMMARY] Load a module. | 754 | /* [SUMMARY] Load a module. |
755 | <info> The devfs change. | 755 | <info> The devfs change. |
756 | <entry> The config file entry. | 756 | <entry> The config file entry. |
@@ -771,8 +771,8 @@ static void action_modload(const struct devfsd_notify_struct *info, | |||
771 | } /* End Function action_modload */ | 771 | } /* End Function action_modload */ |
772 | 772 | ||
773 | static void action_execute(const struct devfsd_notify_struct *info, | 773 | static void action_execute(const struct devfsd_notify_struct *info, |
774 | const struct config_entry_struct *entry, | 774 | const struct config_entry_struct *entry, |
775 | const regmatch_t *regexpr, unsigned int numexpr) | 775 | const regmatch_t *regexpr, unsigned int numexpr) |
776 | /* [SUMMARY] Execute a programme. | 776 | /* [SUMMARY] Execute a programme. |
777 | <info> The devfs change. | 777 | <info> The devfs change. |
778 | <entry> The config file entry. | 778 | <entry> The config file entry. |
@@ -1641,10 +1641,10 @@ st_expr_expand_out: | |||
1641 | /* Private functions follow */ | 1641 | /* Private functions follow */ |
1642 | 1642 | ||
1643 | static const char *expand_variable(char *buffer, unsigned int length, | 1643 | static const char *expand_variable(char *buffer, unsigned int length, |
1644 | unsigned int *out_pos, const char *input, | 1644 | unsigned int *out_pos, const char *input, |
1645 | const char *(*func)(const char *variable, | 1645 | const char *(*func)(const char *variable, |
1646 | void *info), | 1646 | void *info), |
1647 | void *info) | 1647 | void *info) |
1648 | /* [SUMMARY] Expand a variable. | 1648 | /* [SUMMARY] Expand a variable. |
1649 | <buffer> The buffer to write to. | 1649 | <buffer> The buffer to write to. |
1650 | <length> The length of the output buffer. | 1650 | <length> The length of the output buffer. |
@@ -1786,8 +1786,8 @@ expand_variable_out: | |||
1786 | 1786 | ||
1787 | 1787 | ||
1788 | static const char *get_variable_v2(const char *variable, | 1788 | static const char *get_variable_v2(const char *variable, |
1789 | const char *(*func)(const char *variable, void *info), | 1789 | const char *(*func)(const char *variable, void *info), |
1790 | void *info) | 1790 | void *info) |
1791 | /* [SUMMARY] Get a variable from the environment or . | 1791 | /* [SUMMARY] Get a variable from the environment or . |
1792 | <variable> The variable name. | 1792 | <variable> The variable name. |
1793 | <func> A function which will be used to get the variable. If this returns | 1793 | <func> A function which will be used to get the variable. If this returns |