diff options
author | bde <bde@FreeBSD.org> | 1999-03-05 09:28:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-03-05 09:28:33 +0000 |
commit | 801213cd08eae6e66a4b862813a82db6a997140f (patch) | |
tree | 1dade0b9d4aff4c45fff203a0c6b36c04f59c51d /lib | |
parent | f5c5ee7c748944f91d946429a694d8592e912801 (diff) | |
download | FreeBSD-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 'lib')
-rw-r--r-- | lib/libc/sys/quotactl.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index ac6d912..b14932e 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -44,7 +44,7 @@ .Fd #include <sys/types.h> .Fd #include <ufs/ufs/quota.h> .Ft int -.Fn quotactl "const char *path" "int cmd" "int id" "char *addr" +.Fn quotactl "const char *path" "int cmd" "int id" "void *addr" .Sh DESCRIPTION The .Fn quotactl |