Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 16:00:52 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323499 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs
Message-ID:  <201709121600.v8CG0qBW096679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu (ports committer)
Date: Tue Sep 12 16:00:51 2017
New Revision: 323499
URL: https://svnweb.freebsd.org/changeset/base/323499

Log:
  Fix DTrace test tst_inet_ntop_d: remove definitions are already in libdtrace
  
  We have D definitions for the named values in socket.h after r323253.  Remove
  them in test script to prevent compiling failure.
  
  Reviewed by:	markj, gnn
  Differential Revision:	https://reviews.freebsd.org/D12334

Modified:
  head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntop.d

Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntop.d
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntop.d	Tue Sep 12 14:38:10 2017	(r323498)
+++ head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.inet_ntop.d	Tue Sep 12 16:00:51 2017	(r323499)
@@ -28,9 +28,6 @@
 
 #pragma D option quiet
 
-inline int AF_INET = 2;
-inline int AF_INET6 = 28;
-
 in_addr_t *ip4a;
 in_addr_t *ip4b;
 in_addr_t *ip4c;



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