Source-Changes archive

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

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



On May 5, 12:20pm, simonb%wasabisystems.com@localhost (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




Home | Main Index | Thread Index | Old Index