diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-18 02:10:30 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-18 02:10:30 +0200 |
commit | c1e3206968f9878f8b7883cc7c313cd930c86d04 (patch) | |
tree | f279f343bd27b6fd5d338636138f17c071290016 /mktpl | |
parent | 24bf14f6653ebf1c1ba79b9f212d35417bb6acbf (diff) | |
download | cforum-c1e3206968f9878f8b7883cc7c313cd930c86d04.tar.gz |
Add README, fix C89 compliance
Diffstat (limited to 'mktpl')
-rw-r--r-- | mktpl/Makefile | 3 | ||||
-rwxr-xr-x | mktpl/mktpl | bin | 23988 -> 23988 bytes | |||
-rw-r--r-- | mktpl/mktpl.c | 1 | ||||
-rw-r--r-- | mktpl/mktpl.lex | 1 |
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 Binary files differindex 415d645..cc26132 100755 --- a/mktpl/mktpl +++ b/mktpl/mktpl 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 |