aboutsummaryrefslogtreecommitdiff
path: root/toys/other/free.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-05-12 07:52:12 -0500
committerRob Landley <rob@landley.net>2014-05-12 07:52:12 -0500
commitf272df9e821e00afb962a62556318cecfcd694ae (patch)
tree096f013eabe0cd475c0b02b8ca47fe4f9d10671c /toys/other/free.c
parent97c2c1eba507d10005e305098c3fc21b1472c97e (diff)
downloadtoybox-f272df9e821e00afb962a62556318cecfcd694ae.tar.gz
First cleanup pass on sysctl.
Remove unnecessary typecasting of things that are already char * to char *, and multiplying by sizeof(char *) which is 1. Rename do_process() do_flag_a() since that's the only caller. Move read_key_values() down past trim_spaces() and read_config_file() so it's next to its only two users. Replace some euphemisms for 0 with 0. replace_char() really sounds like something libc should already have one of, but I'm blanking on it if so. (It doesn't need a temporary variable when the argument variable is already a copy so changing it won't affect the caller.)
Diffstat (limited to 'toys/other/free.c')
0 files changed, 0 insertions, 0 deletions