diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-03 20:31:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-03 20:31:01 +0900 |
| commit | b845c3cebf6ae86036a85bbdc155def5044c9940 (patch) | |
| tree | 5159a77490c54466a9850e1cc138cea57f7cf62d /examples | |
| parent | f3a1ea57244608c1795e7f90cb3077c6a01686a9 (diff) | |
| download | ducc-b845c3cebf6ae86036a85bbdc155def5044c9940.tar.gz ducc-b845c3cebf6ae86036a85bbdc155def5044c9940.tar.zst ducc-b845c3cebf6ae86036a85bbdc155def5044c9940.zip | |
feat: use <stdio.h> of glibc in examples/*.c
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/fizzbuzz.c | 2 | ||||
| -rw-r--r-- | examples/hello.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/fizzbuzz.c b/examples/fizzbuzz.c index c24ce89..7ff9f36 100644 --- a/examples/fizzbuzz.c +++ b/examples/fizzbuzz.c @@ -1,4 +1,4 @@ -int printf(const char*, ...); +#include <stdio.h> int main() { for (int i = 1; i <= 100; i++) { diff --git a/examples/hello.c b/examples/hello.c index 5dce624..a8cb1ec 100644 --- a/examples/hello.c +++ b/examples/hello.c @@ -1,4 +1,4 @@ -int printf(const char*, ...); +#include <stdio.h> int main() { printf("Hello, World!\n"); |
