summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/regex/debug.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-20 14:27:20 -0200
committerRenato Botelho <renato@netgate.com>2015-11-20 14:27:20 -0200
commita9f1fcf48af9df36b9cd440fdc571067e1eef636 (patch)
tree2214010720f3c3191356c4cb31d42f6a2733020e /contrib/netbsd-tests/lib/libc/regex/debug.c
parent48fa405317a5e66280ee0e3ba965638414e03a22 (diff)
parent9aec66905fd79577d0e13907c4aff0a92b0e8b27 (diff)
downloadFreeBSD-src-a9f1fcf48af9df36b9cd440fdc571067e1eef636.zip
FreeBSD-src-a9f1fcf48af9df36b9cd440fdc571067e1eef636.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/debug.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/regex/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/regex/debug.c b/contrib/netbsd-tests/lib/libc/regex/debug.c
index f1d2b15..fd2e467 100644
--- a/contrib/netbsd-tests/lib/libc/regex/debug.c
+++ b/contrib/netbsd-tests/lib/libc/regex/debug.c
@@ -126,11 +126,15 @@ static void
s_print(struct re_guts *g, FILE *d)
{
sop *s;
+#ifdef __NetBSD__
cset *cs;
+#endif
int done = 0;
sop opnd;
int col = 0;
+#ifdef __NetBSD__
ssize_t last;
+#endif
sopno offset = 2;
# define GAP() { if (offset % 5 == 0) { \
if (col > 40) { \
OpenPOWER on IntegriCloud