* busybox.h::bb_install_loc_t, or else... */
int (*lf)(const char *, const char *);
char *fpc;
- const char *appname = applet_names;
+ const char *appname = applet_names;
unsigned i;
int rc;
void FAST_FUNC nuke_str(char *str)
{
- if (str) {
+ if (str) {
while (*str)
*str++ = 0;
/* or: memset(str, 0, strlen(str)); - not as small as above */
*/
if (ENABLE_FEATURE_CHECK_UNICODE_IN_ENV
|| ENABLE_UNICODE_USING_LOCALE
- ) {
+ ) {
const char *s = get_local_var_value("LC_ALL");
if (!s) s = get_local_var_value("LC_CTYPE");
if (!s) s = get_local_var_value("LANG");
*/
setup_string_in_str(&input, str);
- o_addchr(&dest, '\0');
- dest.length = 0;
+ o_addchr(&dest, '\0');
+ dest.length = 0;
exp_str = NULL;
for (;;) {
* Choices for a,b,c: 10,13,10; 8,9,22; 2,7,3; 23,3,24
* (given by algorithm author)
*/
- enum {
- a = 2,
- b = 7,
- c = 3,
- };
+ enum {
+ a = 2,
+ b = 7,
+ c = 3,
+ };
uint32_t t;
write(1, buf, sizeof(buf));
}
- return 0;
+ return 0;
}
#endif
#include "libbb.h"
static void mount_or_die(const char *source, const char *target,
- const char *fstype, unsigned long mountflags)
+ const char *fstype, unsigned long mountflags)
{
if (mount(source, target, fstype, mountflags, NULL)) {
bb_perror_msg_and_die("can't mount %s on %s (flags:0x%lx)",