Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2015 22:27:46 +0000 (UTC)
From:      Will Andrews <will@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277448 - head/sys/cddl/compat/opensolaris/sys
Message-ID:  <201501202227.t0KMRkt5071458@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: will
Date: Tue Jan 20 22:27:45 2015
New Revision: 277448
URL: https://svnweb.freebsd.org/changeset/base/277448

Log:
  Remove unused strdup() #define.

Modified:
  head/sys/cddl/compat/opensolaris/sys/sunddi.h

Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h
==============================================================================
--- head/sys/cddl/compat/opensolaris/sys/sunddi.h	Tue Jan 20 22:15:36 2015	(r277447)
+++ head/sys/cddl/compat/opensolaris/sys/sunddi.h	Tue Jan 20 22:27:45 2015	(r277448)
@@ -35,7 +35,6 @@
 #include <sys/libkern.h>
 #include <sys/sysevent.h>
 
-#define	strdup(ptr)				strdup((ptr), M_SOLARIS)
 #define	ddi_driver_major(zfs_dip)		(0)
 #define	ddi_copyin(from, to, size, flag)				\
 	(copyin((from), (to), (size)), 0)



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