Fix struct ucred warnings

This commit is contained in:
Sebastian Huber 2015-05-20 13:49:30 +02:00
parent 8b102105ee
commit 7d44707145
2 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,9 @@ struct snapdata;
struct devfs_dirent;
struct cdevsw;
struct file;
#ifdef __rtems__
struct ucred;
#endif /* __rtems__ */
struct cdev {
struct mount *si_mountpt;

View File

@ -514,9 +514,9 @@
* instead of the effective uid, and whether or not the check should be
* allowed in jail.
*/
#ifndef __rtems__
struct thread;
struct ucred;
#ifndef __rtems__
int priv_check(struct thread *td, int priv);
int priv_check_cred(struct ucred *cred, int priv, int flags);
#else /* __rtems__ */