mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-17 09:11:36 -05:00
Fix clang -Wstrict-prototypes by making main take void instead of nothing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
char buf[1024];
|
||||
size_t nIn = sizeof(buf);
|
||||
|
||||
Reference in New Issue
Block a user