mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
tests: Fix old-style function definitions
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>
This commit is contained in:
parent
b73622bf53
commit
e8514527be
@ -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); }
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user