summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk/parse.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-10-09 14:51:31 +0000
committerderaadt <deraadt@openbsd.org>2017-10-09 14:51:31 +0000
commit5dd7c43cc8e98a2122076dc3a81edf858cf71cce (patch)
treee30e476038acc107beaf6d1cde73876daa1e561b /usr.bin/awk/parse.c
parentPrint the name of the device tree node like we do for simplebus(4). (diff)
downloadwireguard-openbsd-5dd7c43cc8e98a2122076dc3a81edf858cf71cce.tar.xz
wireguard-openbsd-5dd7c43cc8e98a2122076dc3a81edf858cf71cce.zip
rename dprintf macro to DPRINTF to avoid collision with libc posix dprintf.
(amazing to me that the posix name was chosen though it specifically collides with code Kernighan maintained since the V7). ok millert
Diffstat (limited to 'usr.bin/awk/parse.c')
-rw-r--r--usr.bin/awk/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/parse.c b/usr.bin/awk/parse.c
index c10aa44cc79..8720d13d031 100644
--- a/usr.bin/awk/parse.c
+++ b/usr.bin/awk/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.6 2002/12/19 21:24:28 millert Exp $ */
+/* $OpenBSD: parse.c,v 1.7 2017/10/09 14:51:31 deraadt Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -251,7 +251,7 @@ void defn(Cell *v, Node *vl, Node *st) /* turn on FCN bit in definition, */
for (p = vl; p; p = p->nnext)
n++;
v->fval = n;
- dprintf( ("defining func %s (%d args)\n", v->nval, n) );
+ DPRINTF( ("defining func %s (%d args)\n", v->nval, n) );
}
int isarg(const char *s) /* is s in argument list for current function? */