diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-04-20 09:13:32 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-04-20 09:13:32 -0400 |
commit | 507c4adcc817c2d80643ecee2cb55dff305236f9 (patch) | |
tree | 0b4567e44b8a7af86fa75409858f76976bb82d80 /backend | |
parent | 60d8f88456d1240720cec82ff7375dff439da56e (diff) | |
download | cups-507c4adcc817c2d80643ecee2cb55dff305236f9.tar.gz |
More clang warning fixes.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/lpd.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/backend/lpd.c b/backend/lpd.c index e705ed406..45cdde8e7 100644 --- a/backend/lpd.c +++ b/backend/lpd.c @@ -1,7 +1,7 @@ /* * Line Printer Daemon backend for CUPS. * - * Copyright © 2007-2016 by Apple Inc. + * Copyright © 2007-2019 by Apple Inc. * Copyright © 1997-2007 by Easy Software Products, all rights reserved. * * Licensed under Apache License v2.0. See the file "LICENSE" for more @@ -72,12 +72,7 @@ static int abort_job = 0; /* Non-zero if we get SIGTERM */ static int cups_rresvport(int *port, int family); static int lpd_command(int lpd_fd, char *format, ...); -static int lpd_queue(const char *hostname, http_addrlist_t *addrlist, - const char *printer, int print_fd, int snmp_fd, - int mode, const char *user, const char *title, - int copies, int banner, int format, int order, - int reserve, int manual_copies, int timeout, - int contimeout, const char *orighost); +static int lpd_queue(const char *hostname, http_addrlist_t *addrlist, const char *printer, int print_fd, int snmp_fd, int mode, const char *user, const char *title, int copies, int banner, int format, int order, int reserve, int manual_copies, int timeout, int contimeout, const char *orighost) _CUPS_NONNULL((1,2,3,7,8,17)); static ssize_t lpd_write(int lpd_fd, char *buffer, size_t length); static void sigterm_handler(int sig); |