summaryrefslogtreecommitdiffhomepage
path: root/include/c11
diff options
context:
space:
mode:
Diffstat (limited to 'include/c11')
-rw-r--r--include/c11/fmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/c11/fmt.h b/include/c11/fmt.h
index 45044e33..d2eab8bc 100644
--- a/include/c11/fmt.h
+++ b/include/c11/fmt.h
@@ -33,7 +33,7 @@ void fmt_close(fmt_stream* ss);
#define FMT_SHORTS
#include "c11/fmt.h"
-int main() {
+int main(void) {
const double pi = 3.141592653589793;
const size_t x = 1234567890;
const char* string = "Hello world";