Use foo(void) instead of foo()

Thanks thirteen_fish for spotting this
Use foo(void) instead of foo()
Check return value of s3_list_bucket