Date: Fri, 5 Jun 2015 00:39:35 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r284008 - stable/10/bin/pax Message-ID: <201506050039.t550dZHM023806@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Fri Jun 5 00:39:34 2015 New Revision: 284008 URL: https://svnweb.freebsd.org/changeset/base/284008 Log: MFC r283257: Eliminate unneeded includes. Modified: stable/10/bin/pax/ar_subs.c stable/10/bin/pax/buf_subs.c stable/10/bin/pax/cache.c stable/10/bin/pax/cpio.c stable/10/bin/pax/file_subs.c stable/10/bin/pax/gen_subs.c stable/10/bin/pax/getoldopt.c stable/10/bin/pax/pat_rep.c stable/10/bin/pax/pax.c stable/10/bin/pax/sel_subs.c stable/10/bin/pax/tar.c stable/10/bin/pax/tty_subs.c Directory Properties: stable/10/ (props changed) Modified: stable/10/bin/pax/ar_subs.c ============================================================================== --- stable/10/bin/pax/ar_subs.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/ar_subs.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/buf_subs.c ============================================================================== --- stable/10/bin/pax/buf_subs.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/buf_subs.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/cache.c ============================================================================== --- stable/10/bin/pax/cache.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/cache.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/cpio.c ============================================================================== --- stable/10/bin/pax/cpio.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/cpio.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/file_subs.c ============================================================================== --- stable/10/bin/pax/file_subs.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/file_subs.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/gen_subs.c ============================================================================== --- stable/10/bin/pax/gen_subs.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/gen_subs.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/getoldopt.c ============================================================================== --- stable/10/bin/pax/getoldopt.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/getoldopt.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/pat_rep.c ============================================================================== --- stable/10/bin/pax/pat_rep.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/pat_rep.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/pax.c ============================================================================== --- stable/10/bin/pax/pax.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/pax.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/sel_subs.c ============================================================================== --- stable/10/bin/pax/sel_subs.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/sel_subs.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/tar.c ============================================================================== --- stable/10/bin/pax/tar.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/tar.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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: stable/10/bin/pax/tty_subs.c ============================================================================== --- stable/10/bin/pax/tty_subs.c Fri Jun 5 00:37:46 2015 (r284007) +++ stable/10/bin/pax/tty_subs.c Fri Jun 5 00:39:34 2015 (r284008) @@ -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?201506050039.t550dZHM023806>