diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-10-24 09:42:51 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-10-24 09:42:51 -0400 |
commit | 961eec1fb550c90fa9ae09eebc42dd072f1b7718 (patch) | |
tree | 39af0e374a2e5805a5d15dfdc5d5bec0983ec3d5 | |
parent | 6589208eaf7e7da73a5a3fe8420c37c970206edc (diff) | |
download | one-true-awk-961eec1fb550c90fa9ae09eebc42dd072f1b7718.tar.gz |
Additional fixes after merge of PR 53.
-rw-r--r-- | FIXES | 4 | ||||
-rw-r--r-- | awk.h | 1 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | makefile | 2 |
4 files changed, 7 insertions, 2 deletions
@@ -25,6 +25,10 @@ THIS SOFTWARE. This file lists all bug fixes, changes, etc., made since the AWK book was sent to the printers in August, 1987. +October 24, 2019: + Import second round of code cleanups from NetBSD. Much thanks + to Christos Zoulas (Github user zoulasc). Merges PR 53. + October 17, 2019: Import code cleanups from NetBSD. Much thanks to Christos Zoulas (Github user zoulasc). Merges PR 51. @@ -23,6 +23,7 @@ THIS SOFTWARE. ****************************************************************/ #include <assert.h> +#include <stdint.h> typedef double Awkfloat; @@ -22,7 +22,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ****************************************************************/ -const char *version = "version 20191017"; +const char *version = "version 20191024"; #define DEBUG #include <stdio.h> @@ -30,7 +30,7 @@ CFLAGS = -O2 #CC = gcc -Wall -g -Wwrite-strings #CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing #CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov -HOSTCC = gcc -g -Wall -pedantic +HOSTCC = gcc -g -Wall -pedantic -Wcast-qual CC = $(HOSTCC) # change this is cross-compiling. # yacc options. pick one; this varies a lot by system. |