summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/generator.c')
-rw-r--r--misc/examples/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/generator.c b/misc/examples/generator.c
index 3ff7a645..a15f9ba5 100644
--- a/misc/examples/generator.c
+++ b/misc/examples/generator.c
@@ -42,7 +42,7 @@ Triple_iter Triple_begin(Triple* g) {
}
-int main()
+int main(void)
{
puts("Pythagorean triples with c < 100:");
Triple triple = {.size=30}; // max number of triples