summary refs log tree commit diff stats
path: root/tinyc/examples
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-02 10:46:30 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-02 10:46:30 +0100
commit1eaeccc15d15d15d2f62ea1648f7dd64722dbd37 (patch)
treeb922cdabc780fa3a8837a6804d2df31793d9e2ca /tinyc/examples
parente9243a16167b24899d4fcf051f3252b3a5804811 (diff)
parentbd19b5f4d36bb40b4af93d7e15fdfa582e9fe3b7 (diff)
downloadNim-1eaeccc15d15d15d2f62ea1648f7dd64722dbd37.tar.gz
Merge branch 'devel' into araq
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>