Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2011 11:47:04 +0900 (JST)
From:      TAKAHASHI Yoshihiro <nyan@FreeBSD.org>
To:        benl@freebsd.org
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223262 - in head: cddl/contrib/opensolaris/lib/libdtrace/common contrib/binutils/bfd contrib/binutils/gas contrib/binutils/gas/config contrib/binutils/ld contrib/binutils/opcodes contr...
Message-ID:  <20110619.114704.59640143160110864.nyan@FreeBSD.org>
In-Reply-To: <201106181356.p5IDuXhW044171@svn.freebsd.org>
References:  <201106181356.p5IDuXhW044171@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <201106181356.p5IDuXhW044171@svn.freebsd.org>
Ben Laurie <benl@freebsd.org> writes:

> Author: benl
> Date: Sat Jun 18 13:56:33 2011
> New Revision: 223262
> URL: http://svn.freebsd.org/changeset/base/223262
> 
> Log:
>   Fix clang warnings.
> 
> Modified: head/sys/sys/diskpc98.h
> ==============================================================================
> --- head/sys/sys/diskpc98.h	Sat Jun 18 13:54:36 2011	(r223261)
> +++ head/sys/sys/diskpc98.h	Sat Jun 18 13:56:33 2011	(r223262)
> @@ -36,8 +36,11 @@
>  #include <sys/ioccom.h>
>  
>  #define	DOSBBSECTOR	0	/* DOS boot block relative sector number */
> +#undef DOSPARTOFF
>  #define	DOSPARTOFF	0
> +#undef DOSPARTSIZE
>  #define	DOSPARTSIZE	32
> +#undef NDOSPART
>  #define	NDOSPART	16
>  #define	DOSMAGICOFFSET	510
>  #define	DOSMAGIC	0xAA55
> @@ -52,6 +55,7 @@
>  
>  #define	DOSMID_386BSD		(PC98_MID_386BSD | PC98_MID_BOOTABLE)
>  #define	DOSSID_386BSD		(PC98_SID_386BSD | PC98_SID_ACTIVE)
> +#undef DOSPTYP_386BSD
>  #define	DOSPTYP_386BSD		(DOSSID_386BSD << 8 | DOSMID_386BSD)
>  
>  struct pc98_partition {
> 

I wonder why this is needed, and why only for diskpc98.h, not
diskmbr.h.

---
TAKAHASHI Yoshihiro <nyan@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110619.114704.59640143160110864.nyan>