Source-Changes archive

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

Re: CVS commit: src/sys/compat/sys



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@localhost>
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_ */



Home | Main Index | Thread Index | Old Index