aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2023-06-18 11:08:31 +0200
committer lemon<lsof@mailbox.org>2023-06-18 12:01:30 +0200
commit97621f5870d60722ae2bc13682c58d194bc20794 (patch)
tree820379cfe2473f9458357c10d837bb9342384f62 /test
parent04de327e9ac7c1502716336e9bbfecf544b31126 (diff)
basic cli driver
Diffstat (limited to 'test')
-rw-r--r--test/hello.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hello.c b/test/hello.c
index 1e02bfc..9d21323 100644
--- a/test/hello.c
+++ b/test/hello.c
@@ -1,4 +1,4 @@
-printf();
-int main(int argc) {
- printf("hello world\n");
+int printf(char *, ...);
+int main(int argc, char **argv) {
+ printf("hello world\n");
}