aboutsummaryrefslogtreecommitdiff
path: root/printutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-05-01 17:06:00 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2022-05-01 17:06:00 +0200
commit9b6f44e0403f9214343bdafd054a628aa1506630 (patch)
tree64f7e35e2e92f8927c1f9882738b5e015dcf1f65 /printutils
parenta157c4c978d3e984f3cb7e2fc02d5ce428d5f82e (diff)
downloadbusybox-w32-9b6f44e0403f9214343bdafd054a628aa1506630.tar.gz
busybox-w32-9b6f44e0403f9214343bdafd054a628aa1506630.tar.bz2
busybox-w32-9b6f44e0403f9214343bdafd054a628aa1506630.zip
style fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'printutils')
-rw-r--r--printutils/lpd.c4
-rw-r--r--printutils/lpr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/printutils/lpd.c b/printutils/lpd.c
index e48feef90..34e5ea209 100644
--- a/printutils/lpd.c
+++ b/printutils/lpd.c
@@ -114,8 +114,8 @@ static char *xmalloc_read_stdin(void)
114 return xmalloc_reads(STDIN_FILENO, &max); 114 return xmalloc_reads(STDIN_FILENO, &max);
115} 115}
116 116
117int lpd_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE; 117int lpd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
118int lpd_main(int argc UNUSED_PARAM, char *argv[]) 118int lpd_main(int argc UNUSED_PARAM, char **argv)
119{ 119{
120 int spooling = spooling; // for compiler 120 int spooling = spooling; // for compiler
121 char *s, *queue; 121 char *s, *queue;
diff --git a/printutils/lpr.c b/printutils/lpr.c
index 77d1a79a4..d40d0a67c 100644
--- a/printutils/lpr.c
+++ b/printutils/lpr.c
@@ -78,8 +78,8 @@ static void get_response_or_say_and_die(int fd, const char *errmsg)
78 } 78 }
79} 79}
80 80
81int lpqr_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE; 81int lpqr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
82int lpqr_main(int argc UNUSED_PARAM, char *argv[]) 82int lpqr_main(int argc UNUSED_PARAM, char **argv)
83{ 83{
84 enum { 84 enum {
85 OPT_P = 1 << 0, // -P queue[@host[:port]]. If no -P is given use $PRINTER, then "lp@localhost:515" 85 OPT_P = 1 << 0, // -P queue[@host[:port]]. If no -P is given use $PRINTER, then "lp@localhost:515"