summary refs log tree commit diff stats
path: root/tinyc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'tinyc/examples')
-rw-r--r--tinyc/examples/ex1.c2
-rw-r--r--tinyc/examples/ex3.c3
-rw-r--r--tinyc/examples/ex4.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/tinyc/examples/ex1.c b/tinyc/examples/ex1.c
index 28139f92e..3d2a3e18f 100644
--- a/tinyc/examples/ex1.c
+++ b/tinyc/examples/ex1.c
@@ -1,4 +1,4 @@
-#! /usr/local/bin/tcc -run
+#!/usr/local/bin/tcc -run
 #include <tcclib.h>
 
 int main()
diff --git a/tinyc/examples/ex3.c b/tinyc/examples/ex3.c
index 7c466ad54..5556a4bcd 100644
--- a/tinyc/examples/ex3.c
+++ b/tinyc/examples/ex3.c
@@ -1,5 +1,4 @@
-#include <stdlib.h>
-#include <stdio.h>
+#include <tcclib.h>
 
 int fib(n)
 {
diff --git a/tinyc/examples/ex4.c b/tinyc/examples/ex4.c
index b33b0331d..f92c0da9f 100644
--- a/tinyc/examples/ex4.c
+++ b/tinyc/examples/ex4.c
@@ -1,4 +1,4 @@
-#!./tcc -run -L/usr/X11R6/lib -lX11
+#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
 #include <stdlib.h>
 #include <stdio.h>
 #include <X11/Xlib.h>