summaryrefslogtreecommitdiffstats
path: root/usr.sbin/timed/timedc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-11-20 07:13:40 +0000
committerjhb <jhb@FreeBSD.org>2001-11-20 07:13:40 +0000
commite7009d45a002fad74c1e7b7d3c880edb60a45f97 (patch)
tree7c6afee2fdd3f2d886f7a6c2ac769587a863fbd6 /usr.sbin/timed/timedc
parent9f1e9b7b8957136695856043f7f82179a65b16b4 (diff)
downloadFreeBSD-src-e7009d45a002fad74c1e7b7d3c880edb60a45f97.zip
FreeBSD-src-e7009d45a002fad74c1e7b7d3c880edb60a45f97.tar.gz
Unifdef all the SGI code. It mainly added clutter while providing some
specialized logging, SGI-specific priority massaging, and SCI-specific time trimming support. Also add missing $FreeBSD$'s. Inspired by: NetBSD
Diffstat (limited to 'usr.sbin/timed/timedc')
-rw-r--r--usr.sbin/timed/timedc/cmds.c5
-rw-r--r--usr.sbin/timed/timedc/timedc.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/timed/timedc/cmds.c b/usr.sbin/timed/timedc/cmds.c
index b1c9c7c..950a2cf 100644
--- a/usr.sbin/timed/timedc/cmds.c
+++ b/usr.sbin/timed/timedc/cmds.c
@@ -54,13 +54,8 @@ static const char rcsid[] =
#define TSPTYPES
#include <protocols/timed.h>
-#ifdef sgi
-#include <bstring.h>
-#include <sys/clock.h>
-#else
#define SECHR (60*60)
#define SECDAY (24*SECHR)
-#endif /* sgi */
# define DATE_PROTO "udp"
# define DATE_PORT "time"
diff --git a/usr.sbin/timed/timedc/timedc.h b/usr.sbin/timed/timedc/timedc.h
index dfdc2f5..f6ee8a6 100644
--- a/usr.sbin/timed/timedc/timedc.h
+++ b/usr.sbin/timed/timedc/timedc.h
@@ -31,13 +31,12 @@
* SUCH DAMAGE.
*
* @(#)timedc.h 8.1 (Berkeley) 6/6/93
+ *
+ * $FreeBSD$
*/
#include <sys/param.h>
#include <sys/time.h>
-#ifdef sgi
-#include <sys/uio.h>
-#endif
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
OpenPOWER on IntegriCloud