Subject: Re: CVS commit: src/sys/compat/sys
To: Simon Burge <simonb@wasabisystems.com>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 05/05/2006 09:07:02
On May 5, 12:20pm, simonb@wasabisystems.com (Simon Burge) wrote:
-- Subject: Re: CVS commit: src/sys/compat/sys
| 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_ */
That is ok, but shouldn't these programs include <sys/cdefs.h>?
Anyway, it is the way <sys/stat.h> is done, so I guess it is ok.
christos