Date: Thu, 21 May 2015 18:29:36 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283257 - head/bin/pax Message-ID: <201505211829.t4LITan4053052@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Thu May 21 18:29:36 2015 New Revision: 283257 URL: https://svnweb.freebsd.org/changeset/base/283257 Log: Eliminate unneeded includes. MFC after: 2 weeks Modified: head/bin/pax/ar_subs.c head/bin/pax/buf_subs.c head/bin/pax/cache.c head/bin/pax/cpio.c head/bin/pax/file_subs.c head/bin/pax/gen_subs.c head/bin/pax/getoldopt.c head/bin/pax/pat_rep.c head/bin/pax/pax.c head/bin/pax/sel_subs.c head/bin/pax/tar.c head/bin/pax/tty_subs.c Modified: head/bin/pax/ar_subs.c ============================================================================== --- head/bin/pax/ar_subs.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/ar_subs.c Thu May 21 18:29:36 2015 (r283257) @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include <fcntl.h> #include <errno.h> #include <unistd.h> -#include <stdlib.h> #include "pax.h" #include "extern.h" Modified: head/bin/pax/buf_subs.c ============================================================================== --- head/bin/pax/buf_subs.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/buf_subs.c Thu May 21 18:29:36 2015 (r283257) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <unistd.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> #include "pax.h" #include "extern.h" Modified: head/bin/pax/cache.c ============================================================================== --- head/bin/pax/cache.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/cache.c Thu May 21 18:29:36 2015 (r283257) @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <pwd.h> #include <grp.h> -#include <unistd.h> #include <stdlib.h> #include "pax.h" #include "cache.h" Modified: head/bin/pax/cpio.c ============================================================================== --- head/bin/pax/cpio.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/cpio.c Thu May 21 18:29:36 2015 (r283257) @@ -45,8 +45,6 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <stdint.h> #include <stdio.h> -#include <unistd.h> -#include <stdlib.h> #include "pax.h" #include "cpio.h" #include "extern.h" Modified: head/bin/pax/file_subs.c ============================================================================== --- head/bin/pax/file_subs.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/file_subs.c Thu May 21 18:29:36 2015 (r283257) @@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <errno.h> #include <sys/uio.h> -#include <stdlib.h> #include "pax.h" #include "options.h" #include "extern.h" Modified: head/bin/pax/gen_subs.c ============================================================================== --- head/bin/pax/gen_subs.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/gen_subs.c Thu May 21 18:29:36 2015 (r283257) @@ -45,8 +45,6 @@ __FBSDID("$FreeBSD$"); #include <langinfo.h> #include <stdint.h> #include <stdio.h> -#include <unistd.h> -#include <stdlib.h> #include <string.h> #include "pax.h" #include "extern.h" Modified: head/bin/pax/getoldopt.c ============================================================================== --- head/bin/pax/getoldopt.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/getoldopt.c Thu May 21 18:29:36 2015 (r283257) @@ -19,8 +19,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <unistd.h> -#include "pax.h" -#include "extern.h" +int getoldopt(int, char **, const char *); int getoldopt(int argc, char **argv, const char *optstring) Modified: head/bin/pax/pat_rep.c ============================================================================== --- head/bin/pax/pat_rep.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/pat_rep.c Thu May 21 18:29:36 2015 (r283257) @@ -43,9 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/stat.h> #include <stdio.h> #include <string.h> -#include <unistd.h> #include <stdlib.h> -#include <errno.h> #ifdef NET2_REGEX #include <regexp.h> #else Modified: head/bin/pax/pax.c ============================================================================== --- head/bin/pax/pax.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/pax.c Thu May 21 18:29:36 2015 (r283257) @@ -58,7 +58,6 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include "pax.h" #include "extern.h" static int gen_init(void); Modified: head/bin/pax/sel_subs.c ============================================================================== --- head/bin/pax/sel_subs.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/sel_subs.c Thu May 21 18:29:36 2015 (r283257) @@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <string.h> #include <strings.h> -#include <unistd.h> #include <stdlib.h> #include "pax.h" #include "sel_subs.h" Modified: head/bin/pax/tar.c ============================================================================== --- head/bin/pax/tar.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/tar.c Thu May 21 18:29:36 2015 (r283257) @@ -44,8 +44,6 @@ __FBSDID("$FreeBSD$"); #include <sys/stat.h> #include <string.h> #include <stdio.h> -#include <unistd.h> -#include <stdlib.h> #include "pax.h" #include "extern.h" #include "tar.h" Modified: head/bin/pax/tty_subs.c ============================================================================== --- head/bin/pax/tty_subs.c Thu May 21 18:29:11 2015 (r283256) +++ head/bin/pax/tty_subs.c Thu May 21 18:29:36 2015 (r283257) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include <fcntl.h> #include <stdio.h> #include <unistd.h> -#include <stdlib.h> #include <string.h> #include "pax.h" #include "extern.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505211829.t4LITan4053052>