diff options
author | rafan <rafan@FreeBSD.org> | 2007-06-05 15:33:51 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-06-05 15:33:51 +0000 |
commit | d187e809f9751c4d3f4b00ef5abc4e8e90c816f0 (patch) | |
tree | 7bb9ff82caf83e12ec1ddc1afdc1af4854a723b6 /contrib/one-true-awk/awk.h | |
parent | 78d66df18b9755543261f33b621153a97634a136 (diff) | |
download | FreeBSD-src-d187e809f9751c4d3f4b00ef5abc4e8e90c816f0.zip FreeBSD-src-d187e809f9751c4d3f4b00ef5abc4e8e90c816f0.tar.gz |
Vendor import of bwk's 01-May-2007 release.
Approved by: delphij (mentor)
Nodded by: ru
Tested by: make universe
Diffstat (limited to 'contrib/one-true-awk/awk.h')
-rw-r--r-- | contrib/one-true-awk/awk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/one-true-awk/awk.h b/contrib/one-true-awk/awk.h index 2ff5024..a36cdb1 100644 --- a/contrib/one-true-awk/awk.h +++ b/contrib/one-true-awk/awk.h @@ -30,7 +30,7 @@ typedef double Awkfloat; typedef unsigned char uschar; -#define xfree(a) { if ((a) != NULL) { free((char *) a); a = NULL; } } +#define xfree(a) { if ((a) != NULL) { free((void *) (a)); (a) = NULL; } } #define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf */ |