summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-03-05 09:28:33 +0000
committerbde <bde@FreeBSD.org>1999-03-05 09:28:33 +0000
commit801213cd08eae6e66a4b862813a82db6a997140f (patch)
tree1dade0b9d4aff4c45fff203a0c6b36c04f59c51d /sys/ufs
parentf5c5ee7c748944f91d946429a694d8592e912801 (diff)
downloadFreeBSD-src-801213cd08eae6e66a4b862813a82db6a997140f.zip
FreeBSD-src-801213cd08eae6e66a4b862813a82db6a997140f.tar.gz
Changed the type of quotactl()'s 4th arg from `char *' to `void *'
so that non-sloppy applications can call it without using disgusting casts to avoid warnings. The 4th arg is sort of varargs -- it must sometimes represent a filename, sometimes a struct pointer, and is sometimes unused. The arg type is still caddr_t in the kernel. Obtained from: mostly from NetBSD
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/quota.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/quota.h b/sys/ufs/ufs/quota.h
index 1204a55..1944e40 100644
--- a/sys/ufs/ufs/quota.h
+++ b/sys/ufs/ufs/quota.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)quota.h 8.3 (Berkeley) 8/19/94
- * $Id: quota.h,v 1.10 1997/02/22 09:47:43 peter Exp $
+ * $Id: quota.h,v 1.11 1997/07/13 15:43:54 bde Exp $
*/
#ifndef _UFS_UFS_QUOTA_H_
@@ -196,7 +196,7 @@ int ufs_quotactl __P((struct mount *, int, uid_t, caddr_t, struct proc *));
#include <sys/cdefs.h>
__BEGIN_DECLS
-int quotactl __P((const char *, int, int, char *));
+int quotactl __P((const char *, int, int, void *));
__END_DECLS
#endif /* KERNEL */
OpenPOWER on IntegriCloud