summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-07-03 02:08:36 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-07-03 02:08:36 +0000
commitf8ceffca4a3004ff92d5dadb0907b715c0dc43d1 (patch)
tree228313d0551749186f179c7102d43e7dd8636164 /sys
parent8f18205ae2492bc13d6a722ad0bb47a3dce8945e (diff)
de-static ufs_chown and ufs_chmod so they show up in DDB.
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ufs/ufs_vnops.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index d78172b0d8b..c16d2ab0136 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_vnops.c,v 1.90 2009/06/04 21:10:47 thib Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.91 2010/07/03 02:08:35 thib Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */
/*
@@ -71,8 +71,8 @@
#endif
#include <ufs/ext2fs/ext2fs_extern.h>
-static int ufs_chmod(struct vnode *, int, struct ucred *, struct proc *);
-static int ufs_chown(struct vnode *, uid_t, gid_t, struct ucred *, struct proc *);
+int ufs_chmod(struct vnode *, int, struct ucred *, struct proc *);
+int ufs_chown(struct vnode *, uid_t, gid_t, struct ucred *, struct proc *);
int filt_ufsread(struct knote *, long);
int filt_ufswrite(struct knote *, long);
int filt_ufsvnode(struct knote *, long);
@@ -411,7 +411,7 @@ ufs_setattr(void *v)
* Change the mode on a file.
* Inode must be locked before calling.
*/
-static int
+int
ufs_chmod(struct vnode *vp, int mode, struct ucred *cred, struct proc *p)
{
struct inode *ip = VTOI(vp);
@@ -438,7 +438,7 @@ ufs_chmod(struct vnode *vp, int mode, struct ucred *cred, struct proc *p)
* Perform chown operation on inode ip;
* inode must be locked prior to call.
*/
-static int
+int
ufs_chown(struct vnode *vp, uid_t uid, gid_t gid, struct ucred *cred,
struct proc *p)
{