1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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>
This commit is contained in:
Felix Janda 2015-10-22 12:42:07 +02:00 committed by Stefan Metzmacher
parent 89d254ddca
commit a19bb29a08

View File

@ -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 */