diff --git a/tests/oldquotas.c b/tests/oldquotas.c index 54dc242248c..37d4e2d37c1 100644 --- a/tests/oldquotas.c +++ b/tests/oldquotas.c @@ -112,4 +112,4 @@ bool disk_quotas(const char *path, uint64_t *bsize, uint64_t *dfree, #endif /* HAVE_SYS_QUOTAS */ -int main() { return disk_quotas(NULL, NULL, NULL, NULL); } +int main(void) { return disk_quotas(NULL, NULL, NULL, NULL); } diff --git a/tests/summary.c b/tests/summary.c index 87a64fd90ef..ea48975316e 100644 --- a/tests/summary.c +++ b/tests/summary.c @@ -2,7 +2,7 @@ void exit(int); -int main() +int main(void) { #if !defined(HAVE_FCNTL_LOCK) #error "ERROR: No locking available. Running Samba would be unsafe"