DragonFly BSD
DragonFly submit List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] disk.h include guard typos


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Jul 2006 09:48:42 -0700 (PDT)

:On Thu, Jul 06, 2006 at 10:13:09PM -0400, Joe Talbott wrote:
:> Here's a small patch to fix the include guards in /sys/sys/disk.h
:> 
:
:Maybe this patch got lost in the release process.  
:
:Joe
    
    I'll fix it in HEAD.  Nothing will be hurt anyhow, its just an
    optimization to reduce the number of namei lookups.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>

:> Index: disk.h
:> ===================================================================
:> RCS file: /home/dcvs/src/sys/sys/disk.h,v
:> retrieving revision 1.7
:> diff -u -r1.7 disk.h
:> --- disk.h	30 Dec 2004 07:01:52 -0000	1.7
:> +++ disk.h	7 Jul 2006 02:24:44 -0000
:> @@ -53,11 +53,11 @@
:>  #include <sys/diskslice.h>
:>  #endif
:>  
:> -#ifndef _SYS_DISKLABEL
:> +#ifndef _SYS_DISKLABEL_H_
:>  #include <sys/disklabel.h>
:>  #endif
:>  
:> -#ifndef _SYS_DISKLABEL
:> +#ifndef _SYS_MSGPORT_H_
:>  #include <sys/msgport.h>
:>  #endif
:>  
:




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]