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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to