summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorTom Harley2019-10-03 02:42:28 +0100
committerTom Harley2019-10-03 02:42:28 +0100
commit64d093247985f759669b7726542291382c1e3fc5 (patch)
tree4b8324373c4b267cd1affcab8a8ece20b920323b /common.c
parentInitial commit (diff)
downloadsinter-64d093247985f759669b7726542291382c1e3fc5.tar.gz
sinter-64d093247985f759669b7726542291382c1e3fc5.zip

Support + and * operations

Diffstat (limited to 'common.c')
-rw-r--r--common.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.c b/common.c
new file mode 100644
index 0000000..4d4966a
--- /dev/null
+++ b/common.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+void print_int(int i) {
+ printf("%d\n", i);
+}
+
+void print_str(char *s) {
+ printf("%s\n", s);
+}