Date: Tue, 5 Feb 2019 08:05:43 +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-12@freebsd.org Subject: svn commit: r343765 - stable/12/usr.bin/mkimg Message-ID: <201902050805.x1585hAO026424@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Tue Feb 5 08:05:42 2019 New Revision: 343765 URL: https://svnweb.freebsd.org/changeset/base/343765 Log: MFC r342813: Remove unneeded headers. Modified: stable/12/usr.bin/mkimg/apm.c stable/12/usr.bin/mkimg/bsd.c stable/12/usr.bin/mkimg/ebr.c stable/12/usr.bin/mkimg/endian.h stable/12/usr.bin/mkimg/format.c stable/12/usr.bin/mkimg/gpt.c stable/12/usr.bin/mkimg/mbr.c stable/12/usr.bin/mkimg/qcow.c stable/12/usr.bin/mkimg/raw.c stable/12/usr.bin/mkimg/scheme.c stable/12/usr.bin/mkimg/uuid.c stable/12/usr.bin/mkimg/vhd.c stable/12/usr.bin/mkimg/vmdk.c stable/12/usr.bin/mkimg/vtoc8.c Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/mkimg/apm.c ============================================================================== --- stable/12/usr.bin/mkimg/apm.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/apm.c Tue Feb 5 08:05:42 2019 (r343765) @@ -31,7 +31,6 @@ __FBSDID("$FreeBSD$"); #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include <apm.h> Modified: stable/12/usr.bin/mkimg/bsd.c ============================================================================== --- stable/12/usr.bin/mkimg/bsd.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/bsd.c Tue Feb 5 08:05:42 2019 (r343765) @@ -31,7 +31,6 @@ __FBSDID("$FreeBSD$"); #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include <bsd.h> Modified: stable/12/usr.bin/mkimg/ebr.c ============================================================================== --- stable/12/usr.bin/mkimg/ebr.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/ebr.c Tue Feb 5 08:05:42 2019 (r343765) @@ -31,7 +31,6 @@ __FBSDID("$FreeBSD$"); #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include <mbr.h> Modified: stable/12/usr.bin/mkimg/endian.h ============================================================================== --- stable/12/usr.bin/mkimg/endian.h Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/endian.h Tue Feb 5 08:05:42 2019 (r343765) @@ -29,6 +29,8 @@ #ifndef _MKIMG_ENDIAN_H_ #define _MKIMG_ENDIAN_H_ +#include <stdint.h> + static __inline uint16_t be16dec(const void *pp) { Modified: stable/12/usr.bin/mkimg/format.c ============================================================================== --- stable/12/usr.bin/mkimg/format.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/format.c Tue Feb 5 08:05:42 2019 (r343765) @@ -28,16 +28,11 @@ __FBSDID("$FreeBSD$"); #include <sys/stat.h> -#include <err.h> #include <errno.h> -#include <stdint.h> -#include <stdlib.h> #include <string.h> -#include <unistd.h> #include "image.h" #include "format.h" -#include "mkimg.h" static struct mkimg_format *first; static struct mkimg_format *format; Modified: stable/12/usr.bin/mkimg/gpt.c ============================================================================== --- stable/12/usr.bin/mkimg/gpt.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/gpt.c Tue Feb 5 08:05:42 2019 (r343765) @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include <gpt.h> #include <mbr.h> Modified: stable/12/usr.bin/mkimg/mbr.c ============================================================================== --- stable/12/usr.bin/mkimg/mbr.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/mbr.c Tue Feb 5 08:05:42 2019 (r343765) @@ -31,7 +31,6 @@ __FBSDID("$FreeBSD$"); #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include <mbr.h> Modified: stable/12/usr.bin/mkimg/qcow.c ============================================================================== --- stable/12/usr.bin/mkimg/qcow.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/qcow.c Tue Feb 5 08:05:42 2019 (r343765) @@ -29,11 +29,9 @@ __FBSDID("$FreeBSD$"); #include <sys/errno.h> #include <assert.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include "endian.h" #include "image.h" Modified: stable/12/usr.bin/mkimg/raw.c ============================================================================== --- stable/12/usr.bin/mkimg/raw.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/raw.c Tue Feb 5 08:05:42 2019 (r343765) @@ -28,14 +28,10 @@ __FBSDID("$FreeBSD$"); #include <sys/errno.h> -#include <stdint.h> -#include <stdlib.h> -#include <string.h> #include <unistd.h> #include "image.h" #include "format.h" -#include "mkimg.h" static int raw_resize(lba_t imgsz __unused) Modified: stable/12/usr.bin/mkimg/scheme.c ============================================================================== --- stable/12/usr.bin/mkimg/scheme.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/scheme.c Tue Feb 5 08:05:42 2019 (r343765) @@ -29,10 +29,8 @@ __FBSDID("$FreeBSD$"); #include <sys/stat.h> #include <assert.h> -#include <err.h> #include <errno.h> #include <limits.h> -#include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> Modified: stable/12/usr.bin/mkimg/uuid.c ============================================================================== --- stable/12/usr.bin/mkimg/uuid.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/uuid.c Tue Feb 5 08:05:42 2019 (r343765) @@ -28,7 +28,6 @@ __FBSDID("$FreeBSD$"); #include <stdint.h> -#include <stdio.h> #include <string.h> #include "endian.h" Modified: stable/12/usr.bin/mkimg/vhd.c ============================================================================== --- stable/12/usr.bin/mkimg/vhd.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/vhd.c Tue Feb 5 08:05:42 2019 (r343765) @@ -28,11 +28,9 @@ __FBSDID("$FreeBSD$"); #include <sys/errno.h> -#include <stdint.h> #include <stdlib.h> #include <string.h> #include <time.h> -#include <unistd.h> #include "endian.h" #include "image.h" Modified: stable/12/usr.bin/mkimg/vmdk.c ============================================================================== --- stable/12/usr.bin/mkimg/vmdk.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/vmdk.c Tue Feb 5 08:05:42 2019 (r343765) @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include "endian.h" #include "image.h" Modified: stable/12/usr.bin/mkimg/vtoc8.c ============================================================================== --- stable/12/usr.bin/mkimg/vtoc8.c Tue Feb 5 06:25:35 2019 (r343764) +++ stable/12/usr.bin/mkimg/vtoc8.c Tue Feb 5 08:05:42 2019 (r343765) @@ -30,9 +30,7 @@ __FBSDID("$FreeBSD$"); #include <sys/errno.h> #include <stdint.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> -#include <unistd.h> #include <vtoc.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902050805.x1585hAO026424>