summaryrefslogtreecommitdiffhomepage
path: root/include/c11
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-15 23:20:16 +0200
committertylov <[email protected]>2023-07-15 23:20:16 +0200
commite9121702a5d69624ef1e782e85a8f032e4f4e875 (patch)
tree00e7770c9b775d98b518d9e3929b6ec4f71ad754 /include/c11
parent23aebb77554bc43c929704e9f1c46dc4520024df (diff)
downloadSTC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.tar.gz
STC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.zip
Improved warning, and other enhancements in ccommon.h
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";