Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2013 17:44:12 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250303 - head/sbin/iscontrol
Message-ID:  <201305061744.r46HiCip094117@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon May  6 17:44:12 2013
New Revision: 250303
URL: http://svnweb.freebsd.org/changeset/base/250303

Log:
  Remove includes for old versions of FreeBSD.
  
  Reviewed by:	stass
  Obtained From:	DragonFlyBSD
  MFC After:	1 week

Modified:
  head/sbin/iscontrol/auth_subr.c
  head/sbin/iscontrol/fsm.c
  head/sbin/iscontrol/login.c
  head/sbin/iscontrol/misc.c

Modified: head/sbin/iscontrol/auth_subr.c
==============================================================================
--- head/sbin/iscontrol/auth_subr.c	Mon May  6 17:21:28 2013	(r250302)
+++ head/sbin/iscontrol/auth_subr.c	Mon May  6 17:44:12 2013	(r250303)
@@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
-#if __FreeBSD_version < 500000
-#include <sys/time.h>
-#endif
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>

Modified: head/sbin/iscontrol/fsm.c
==============================================================================
--- head/sbin/iscontrol/fsm.c	Mon May  6 17:21:28 2013	(r250302)
+++ head/sbin/iscontrol/fsm.c	Mon May  6 17:44:12 2013	(r250303)
@@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
-#if __FreeBSD_version < 500000
-#include <sys/time.h>
-#endif
 #include <sys/ioctl.h>
 #include <netdb.h>
 #include <stdlib.h>

Modified: head/sbin/iscontrol/login.c
==============================================================================
--- head/sbin/iscontrol/login.c	Mon May  6 17:21:28 2013	(r250302)
+++ head/sbin/iscontrol/login.c	Mon May  6 17:44:12 2013	(r250303)
@@ -39,9 +39,6 @@ __FBSDID("$FreeBSD$");
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
-#if __FreeBSD_version < 500000
-#include <sys/time.h>
-#endif
 #include <sys/ioctl.h>
 #include <stdio.h>
 #include <stdlib.h>

Modified: head/sbin/iscontrol/misc.c
==============================================================================
--- head/sbin/iscontrol/misc.c	Mon May  6 17:21:28 2013	(r250302)
+++ head/sbin/iscontrol/misc.c	Mon May  6 17:44:12 2013	(r250303)
@@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
-#if __FreeBSD_version < 500000
-#include <sys/time.h>
-#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>



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