aboutsummaryrefslogtreecommitdiff
path: root/mktpl
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-18 02:10:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-18 02:10:30 +0200
commitc1e3206968f9878f8b7883cc7c313cd930c86d04 (patch)
treef279f343bd27b6fd5d338636138f17c071290016 /mktpl
parent24bf14f6653ebf1c1ba79b9f212d35417bb6acbf (diff)
downloadcforum-c1e3206968f9878f8b7883cc7c313cd930c86d04.tar.gz
Add README, fix C89 compliance
Diffstat (limited to 'mktpl')
-rw-r--r--mktpl/Makefile3
-rwxr-xr-xmktpl/mktplbin23988 -> 23988 bytes
-rw-r--r--mktpl/mktpl.c1
-rw-r--r--mktpl/mktpl.lex1
4 files changed, 4 insertions, 1 deletions
diff --git a/mktpl/Makefile b/mktpl/Makefile
index 0e7363b..f413714 100644
--- a/mktpl/Makefile
+++ b/mktpl/Makefile
@@ -1,6 +1,7 @@
+CFLAGS += -std=c89 -Wall -pedantic -Wno-parentheses
LDLIBS += -lfl
mktpl: mktpl.c
mktpl.c: mktpl.lex
- flex -omktpl.c mktpl.lex
+ flex -omktpl.c mktpl.lex \ No newline at end of file
diff --git a/mktpl/mktpl b/mktpl/mktpl
index 415d645..cc26132 100755
--- a/mktpl/mktpl
+++ b/mktpl/mktpl
Binary files differ
diff --git a/mktpl/mktpl.c b/mktpl/mktpl.c
index e806bef..485d209 100644
--- a/mktpl/mktpl.c
+++ b/mktpl/mktpl.c
@@ -1568,6 +1568,7 @@ main(int argc, char *argv[])
err(1, "malloc");
yylex();
+ return 0;
}
void
diff --git a/mktpl/mktpl.lex b/mktpl/mktpl.lex
index 1940f02..f0674b7 100644
--- a/mktpl/mktpl.lex
+++ b/mktpl/mktpl.lex
@@ -40,6 +40,7 @@ main(int argc, char *argv[])
err(1, "malloc");
yylex();
+ return 0;
}
void