These files are included into the source3/wscript configure
checks and so need to avoid C89 features otherwise they
may cause an incorrect configure failure.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15281
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
#endif /* HAVE_SYS_QUOTAS */
-int main() { return disk_quotas(NULL, NULL, NULL, NULL); }
+int main(void) { return disk_quotas(NULL, NULL, NULL, NULL); }
void exit(int);
-int main()
+int main(void)
{
#if !defined(HAVE_FCNTL_LOCK)
#error "ERROR: No locking available. Running Samba would be unsafe"