summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-02-27 07:57:57 +0000
committermpp <mpp@FreeBSD.org>1996-02-27 07:57:57 +0000
commite1d2af37f65ed6ee6417593e6cc61efaf8f0e35a (patch)
treea28278b4afea421726fceb372bf4e0a6060a0e6a /sys/ufs
parentc245068cb54308b9380e05fd257290d68d84fde7 (diff)
downloadFreeBSD-src-e1d2af37f65ed6ee6417593e6cc61efaf8f0e35a.zip
FreeBSD-src-e1d2af37f65ed6ee6417593e6cc61efaf8f0e35a.tar.gz
Add a prototype for the quotactl system call.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/quota.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/ufs/ufs/quota.h b/sys/ufs/ufs/quota.h
index b3fcfeb..b50e1f2 100644
--- a/sys/ufs/ufs/quota.h
+++ b/sys/ufs/ufs/quota.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)quota.h 8.1 (Berkeley) 6/11/93
- * $Id: quota.h,v 1.3 1994/08/21 07:16:16 paul Exp $
+ * $Id: quota.h,v 1.4 1995/12/22 15:58:54 phk Exp $
*/
#ifndef _UFS_UFS_QUOTA_
@@ -177,6 +177,7 @@ struct proc;
struct ucred;
struct ufsmount;
struct vnode;
+#ifdef KERNEL
__BEGIN_DECLS
int chkdq __P((struct inode *, long, struct ucred *, int));
int chkiq __P((struct inode *, long, struct ucred *, int));
@@ -191,6 +192,11 @@ int setquota __P((struct mount *, u_long, int, caddr_t));
int setuse __P((struct mount *, u_long, int, caddr_t));
int ufs_quotactl __P((struct mount *, int, uid_t, caddr_t, struct proc *));
__END_DECLS
+#else /* KERNEL */
+__BEGIN_DECLS
+int quotactl __P((const char *, int, int, char *));
+__END_DECLS
+#endif /* KERNEL */
#endif /* _QUOTA_ */
OpenPOWER on IntegriCloud