mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 00:09:48 +08:00
Fix struct ucred warnings
This commit is contained in:
parent
8b102105ee
commit
7d44707145
@ -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;
|
||||
|
@ -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__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user