diff options
author | ed <ed@FreeBSD.org> | 2012-10-25 20:16:38 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-10-25 20:16:38 +0000 |
commit | 7a91df3c3792dc1bed5ff818447fc26896d809d1 (patch) | |
tree | 0e0428999efb2ba07c54e60bb09ad02a5f3c3bd6 /usr.sbin/lpr/common_source/net.c | |
parent | 534523d9751333936c4698628a7545f16b40d0c3 (diff) | |
download | FreeBSD-src-7a91df3c3792dc1bed5ff818447fc26896d809d1.zip FreeBSD-src-7a91df3c3792dc1bed5ff818447fc26896d809d1.tar.gz |
Let lpr build with -Wmissing-variable-declarations.
Mark variables static where possible and place the uid/euid variables in
lp.h, so that we can compile-time enforce that these variables have the
same type.
Diffstat (limited to 'usr.sbin/lpr/common_source/net.c')
-rw-r--r-- | usr.sbin/lpr/common_source/net.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/lpr/common_source/net.c b/usr.sbin/lpr/common_source/net.c index 0ac816a..ab6fa16 100644 --- a/usr.sbin/lpr/common_source/net.c +++ b/usr.sbin/lpr/common_source/net.c @@ -80,8 +80,6 @@ u_char family = PF_UNSPEC; u_char family = PF_INET; #endif -extern uid_t uid, euid; - /* * Create a TCP connection to host "rhost" at port "rport". * If rport == 0, then use the printer service port. |