1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3/lib: don't rely on implicit int return type

C99 removed this behaviour.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
David Disseldorp 2019-01-27 00:41:28 +01:00
parent 232273bfac
commit 45a202a197

View File

@ -549,7 +549,7 @@ static int have_syscall(void)
return 0;
}
main()
int main(void)
{
if (getuid() != 0) {
#if (defined(AIX) && defined(USE_SETREUID))