Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2017 21:38:19 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r312239 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib
Message-ID:  <201701152138.v0FLcJsO072185@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Jan 15 21:38:19 2017
New Revision: 312239
URL: https://svnweb.freebsd.org/changeset/base/312239

Log:
  Remove libutil.h #include on FreeBSD and instead favor stdio.h from libnetbsd

Modified:
  projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c
  projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c

Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c	Sun Jan 15 21:18:58 2017	(r312238)
+++ projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c	Sun Jan 15 21:38:19 2017	(r312239)
@@ -34,9 +34,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <err.h>
-#ifdef __FreeBSD__
-#include <libutil.h>
-#endif
 
 #define	WS	"\t\n "
 #define	debug	0

Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c	Sun Jan 15 21:18:58 2017	(r312238)
+++ projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c	Sun Jan 15 21:38:19 2017	(r312239)
@@ -36,9 +36,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
-#ifdef __FreeBSD__
-#include <libutil.h>
-#endif
 
 #define SKIPWS(p)	while (isspace((int)(*p))) p++
 #define	WS	"\t\n "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701152138.v0FLcJsO072185>