svn commit: r323517 - head/sys/dev/e1000

Stephen Hurd shurd at FreeBSD.org
Wed Sep 13 02:44:52 UTC 2017


Author: shurd
Date: Wed Sep 13 02:44:50 2017
New Revision: 323517
URL: https://svnweb.freebsd.org/changeset/base/323517

Log:
  Fix GCC build failure caused by r323516
  
  No need to declare cold when we #include <sys/systm.h>
  
  Reported by:	Jenkins
  Reviewed by:	sbruno
  Approved by:	sbruno (mentor)
  Sponsored by:	Limelight Networks
  Differential Revision:	https://reviews.freebsd.org/D12347

Modified:
  head/sys/dev/e1000/e1000_osdep.h

Modified: head/sys/dev/e1000/e1000_osdep.h
==============================================================================
--- head/sys/dev/e1000/e1000_osdep.h	Wed Sep 13 01:18:42 2017	(r323516)
+++ head/sys/dev/e1000/e1000_osdep.h	Wed Sep 13 02:44:50 2017	(r323517)
@@ -78,7 +78,6 @@ ms_scale(int x) {
 		return (max(1, x/(1000/hz)));
 	}
 }
-extern int cold;
 
 static inline void
 safe_pause_us(int x) {


More information about the svn-src-all mailing list