Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/regex PR/51873: Ngie Cooper: add util.h #include



details:   https://anonhg.NetBSD.org/src/rev/fee317027f70
branches:  trunk
changeset: 820771:fee317027f70
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 20:59:23 2017 +0000

description:
PR/51873: Ngie Cooper: add util.h #include

diffstat:

 tests/lib/libc/regex/t_regex_att.c |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r f29dca3f1ec6 -r fee317027f70 tests/lib/libc/regex/t_regex_att.c
--- a/tests/lib/libc/regex/t_regex_att.c        Sat Jan 14 20:58:20 2017 +0000
+++ b/tests/lib/libc/regex/t_regex_att.c        Sat Jan 14 20:59:23 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_regex_att.c,v 1.2 2017/01/14 00:50:56 christos Exp $ */
+/*     $NetBSD: t_regex_att.c,v 1.3 2017/01/14 20:59:23 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -37,17 +37,18 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_regex_att.c,v 1.2 2017/01/14 00:50:56 christos Exp $");
+__RCSID("$NetBSD: t_regex_att.c,v 1.3 2017/01/14 20:59:23 christos Exp $");
 
 #include <sys/param.h>
 
-#include <stdio.h>
+#include <atf-c.h>
+#include <ctype.h>
 #include <regex.h>
-#include <string.h>
+#include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
+#include <util.h>
 #include <vis.h>
-#include <ctype.h>
-#include <atf-c.h>
 
 static const char sep[] = "\r\n\t";
 static const char delim[3] = "\\\\\0";



Home | Main Index | Thread Index | Old Index