awk.h (146299) | awk.h (170331) |
---|---|
1/**************************************************************** 2Copyright (C) Lucent Technologies 1997 3All Rights Reserved 4 5Permission to use, copy, modify, and distribute this software and 6its documentation for any purpose and without fee is hereby 7granted, provided that the above copyright notice appear in all 8copies and that both that the copyright notice and this --- 16 unchanged lines hidden (view full) --- 25#include <assert.h> 26 27typedef double Awkfloat; 28 29/* unsigned char is more trouble than it's worth */ 30 31typedef unsigned char uschar; 32 | 1/**************************************************************** 2Copyright (C) Lucent Technologies 1997 3All Rights Reserved 4 5Permission to use, copy, modify, and distribute this software and 6its documentation for any purpose and without fee is hereby 7granted, provided that the above copyright notice appear in all 8copies and that both that the copyright notice and this --- 16 unchanged lines hidden (view full) --- 25#include <assert.h> 26 27typedef double Awkfloat; 28 29/* unsigned char is more trouble than it's worth */ 30 31typedef unsigned char uschar; 32 |
33#define xfree(a) { if ((a) != NULL) { free((char *) a); a = NULL; } } | 33#define xfree(a) { if ((a) != NULL) { free((void *) (a)); (a) = NULL; } } |
34 35#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf 36*/ 37#define DEBUG 38#ifdef DEBUG 39 /* uses have to be doubly parenthesized */ 40# define dprintf(x) if (dbg) printf x 41#else --- 192 unchanged lines hidden --- | 34 35#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf 36*/ 37#define DEBUG 38#ifdef DEBUG 39 /* uses have to be doubly parenthesized */ 40# define dprintf(x) if (dbg) printf x 41#else --- 192 unchanged lines hidden --- |