summaryrefslogtreecommitdiff
path: root/printutils
diff options
context:
space:
mode:
Diffstat (limited to 'printutils')
-rw-r--r--printutils/lpd.c2
-rw-r--r--printutils/lpr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/printutils/lpd.c b/printutils/lpd.c
index 916fd62..49e3fd7 100644
--- a/printutils/lpd.c
+++ b/printutils/lpd.c
@@ -11,7 +11,7 @@
// TODO: xmalloc_reads is vulnerable to remote OOM attack!
int lpd_main(int argc, char *argv[]) MAIN_EXTERNALLY_VISIBLE;
-int lpd_main(int argc, char *argv[])
+int lpd_main(int argc ATTRIBUTE_UNUSED, char *argv[])
{
int spooling;
char *s, *queue;
diff --git a/printutils/lpr.c b/printutils/lpr.c
index 153e6ab..5313d5a 100644
--- a/printutils/lpr.c
+++ b/printutils/lpr.c
@@ -42,7 +42,7 @@ 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[])
+int lpqr_main(int argc ATTRIBUTE_UNUSED, char *argv[])
{
enum {
OPT_P = 1 << 0, // -P queue[@host[:port]]. If no -P is given use $PRINTER, then "lp@localhost:515"