style fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a157c4c978
commit
9b6f44e040
@ -102,7 +102,7 @@ enum action_t {
|
|||||||
REBOOT
|
REBOOT
|
||||||
};
|
};
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct timespec t = {0,0};
|
struct timespec t = {0,0};
|
||||||
enum action_t action = SHUTDOWN;
|
enum action_t action = SHUTDOWN;
|
||||||
|
@ -762,7 +762,7 @@ get_script_content(unsigned n)
|
|||||||
//usage:#define busybox_trivial_usage NOUSAGE_STR
|
//usage:#define busybox_trivial_usage NOUSAGE_STR
|
||||||
//usage:#define busybox_full_usage ""
|
//usage:#define busybox_full_usage ""
|
||||||
//applet:IF_BUSYBOX(IF_FEATURE_SH_STANDALONE(IF_FEATURE_TAB_COMPLETION(APPLET(busybox, BB_DIR_BIN, BB_SUID_MAYBE))))
|
//applet:IF_BUSYBOX(IF_FEATURE_SH_STANDALONE(IF_FEATURE_TAB_COMPLETION(APPLET(busybox, BB_DIR_BIN, BB_SUID_MAYBE))))
|
||||||
int busybox_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE;
|
int busybox_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||||
# else
|
# else
|
||||||
# define busybox_main(argc,argv) busybox_main(argv)
|
# define busybox_main(argc,argv) busybox_main(argv)
|
||||||
static
|
static
|
||||||
|
@ -211,7 +211,7 @@ static void fmt_04u(/*char *dst,*/ unsigned n)
|
|||||||
fmt_02u(n % 100);
|
fmt_02u(n % 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
dir_list_t *dir_list;
|
dir_list_t *dir_list;
|
||||||
dir_list_t *cdir;
|
dir_list_t *cdir;
|
||||||
|
@ -143,7 +143,7 @@ static void process_includes(const char *filename)
|
|||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
if (!argv[1])
|
if (!argv[1])
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -114,8 +114,8 @@ static char *xmalloc_read_stdin(void)
|
|||||||
return xmalloc_reads(STDIN_FILENO, &max);
|
return xmalloc_reads(STDIN_FILENO, &max);
|
||||||
}
|
}
|
||||||
|
|
||||||
int lpd_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE;
|
int lpd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||||
int lpd_main(int argc UNUSED_PARAM, char *argv[])
|
int lpd_main(int argc UNUSED_PARAM, char **argv)
|
||||||
{
|
{
|
||||||
int spooling = spooling; // for compiler
|
int spooling = spooling; // for compiler
|
||||||
char *s, *queue;
|
char *s, *queue;
|
||||||
|
@ -78,8 +78,8 @@ static void get_response_or_say_and_die(int fd, const char *errmsg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int lpqr_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE;
|
int lpqr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||||
int lpqr_main(int argc UNUSED_PARAM, char *argv[])
|
int lpqr_main(int argc UNUSED_PARAM, char **argv)
|
||||||
{
|
{
|
||||||
enum {
|
enum {
|
||||||
OPT_P = 1 << 0, // -P queue[@host[:port]]. If no -P is given use $PRINTER, then "lp@localhost:515"
|
OPT_P = 1 << 0, // -P queue[@host[:port]]. If no -P is given use $PRINTER, then "lp@localhost:515"
|
||||||
|
@ -95,7 +95,7 @@ char* FAST_FUNC scan_and_match(char *string, const char *pattern, unsigned flags
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef STANDALONE
|
#ifdef STANDALONE
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
char *string;
|
char *string;
|
||||||
char *op;
|
char *op;
|
||||||
|
Loading…
Reference in New Issue
Block a user