Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2015 11:27:24 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r288593 - stable/10/cddl/contrib/opensolaris/lib/libzpool/common/sys
Message-ID:  <201510031127.t93BROI7066137@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Oct  3 11:27:23 2015
New Revision: 288593
URL: https://svnweb.freebsd.org/changeset/base/288593

Log:
  MFC r287335 (by allanjude):
  Remove duplicate defines introduced in initial ZFS import (r168404)
  
  This change reduces compiler warnings by removing duplicate defines
  
  Line numbers are from r168404 (and r284648)
  #define lbolt: lines 384 and 459 (531 and 648) (original was renamed later)
  #define lbolt64: lines 385 and 460 (532 and 649) (original was renamed later)
  #define gethrestime_sec: lines 390 and 465 (540 and 653)
  uint64_t physmem: lines 402 and 463 (561 and 651)

Modified:
  stable/10/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h
==============================================================================
--- stable/10/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h	Sat Oct  3 11:24:47 2015	(r288592)
+++ stable/10/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h	Sat Oct  3 11:27:23 2015	(r288593)
@@ -655,13 +655,6 @@ extern int zfs_secpolicy_rename_perms(co
 extern int zfs_secpolicy_destroy_perms(const char *name, cred_t *cr);
 extern zoneid_t getzoneid(void);
 /* Random compatibility stuff. */
-#define	lbolt	(gethrtime() >> 23)
-#define	lbolt64	(gethrtime() >> 23)
-
-extern uint64_t physmem;
-
-#define	gethrestime_sec()	time(NULL)
-
 #define	pwrite64(d, p, n, o)	pwrite(d, p, n, o)
 #define	readdir64(d)		readdir(d)
 #define	SIGPENDING(td)		(0)



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