Subject: Re: CVS commit: src/sys/compat/sys
To: None <christos@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 05/05/2006 12:20:28
Christos Zoulas wrote:

> Module Name:	src
> Committed By:	christos
> Date:		Thu May  4 17:56:22 UTC 2006
> 
> Modified Files:
> 
> 	src/sys/compat/sys: mount.h
> 
> Log Message:
> 
> update for fhstat.

The __RENAME breaks all standalone programs.  Just putting a
#ifndef _STANDALONE from the sysctl CTL_VFS definitions until
the end of the file make things happy, at least for all of
i386/stand.  OK to commit that, or is there a better way?

Cheers,
Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/


Index: sys/sys/mount.h
===================================================================
RCS file: /cvsroot/src/sys/sys/mount.h,v
retrieving revision 1.139
diff -d -p -u -r1.139 mount.h
--- sys/sys/mount.h     4 May 2006 17:50:28 -0000       1.139
+++ sys/sys/mount.h     5 May 2006 02:19:40 -0000
@@ -113,6 +113,7 @@ struct mount {
        struct mount    *mnt_leaf;              /* leaf fs we mounted on */
 };
 
+#ifndef _STANDALONE
 /*
  * Sysctl CTL_VFS definitions.
  *
@@ -319,5 +320,6 @@ int fhstat(const fhandle_t *, struct sta
 __END_DECLS
 
 #endif /* _KERNEL */
+#endif /* !_STANDALONE */
 
 #endif /* !_SYS_MOUNT_H_ */