diff options
author | Felix Janda <felix.janda@posteo.de> | 2015-10-22 12:42:07 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-10-31 22:03:14 +0100 |
commit | a19bb29a0814bc31c3f377a983c1503f63a6bc42 (patch) | |
tree | 4c391b9e0a3415455b714218de16ec09f5bfdc9b /source3 | |
parent | 89d254ddca20a36001c9dfdcfa6d8b9767f0f897 (diff) | |
download | samba-a19bb29a0814bc31c3f377a983c1503f63a6bc42.tar.gz |
s3: Remove unnecessary __P() macro
__P() is used for compatibility with old K&R C compilers. With
ANSI C this macro has no effect. Since we are assuming ANSI C in
the rest of the code, the macro is not necessary.
This fixes a compilation error with musl libc because of undeclared
__P().
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/samba_linux_quota.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/samba_linux_quota.h b/source3/include/samba_linux_quota.h index 8dbbec237f3..51acc200c82 100644 --- a/source3/include/samba_linux_quota.h +++ b/source3/include/samba_linux_quota.h @@ -227,7 +227,7 @@ struct if_dqinfo { #endif #endif -long quotactl __P((int, const char *, qid_t, caddr_t)); +long quotactl(int, const char *, qid_t, caddr_t); #endif /* _QUOTA_LINUX */ |