summaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-08 14:30:28 +0000
committerJim Meyering <jim@meyering.net>2003-03-08 14:30:28 +0000
commit3e9e3529917618f4aa0e0d457f31c05fe3ae8638 (patch)
treee2a18fcefb1166b54dff9a6ca8e8ae1d2287ce6a /src/sleep.c
parent79065539ddeb8be6b51b74e65737728229f0b574 (diff)
downloadcoreutils-3e9e3529917618f4aa0e0d457f31c05fe3ae8638.tar.xz
Remove now-unused #include and #define directives.
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/sleep.c b/src/sleep.c
index 542c8f10f..f8a818692 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -1,5 +1,5 @@
/* sleep - delay for a specified amount of time.
- Copyright (C) 84, 1991-1997, 1999-2002 Free Software Foundation, Inc.
+ Copyright (C) 84, 1991-1997, 1999-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,23 +19,12 @@
#include <stdio.h>
#include <assert.h>
#include <sys/types.h>
-#include <time.h>
#include <getopt.h>
-#define USE_CLOCK_GETTIME (defined CLOCK_REALTIME && HAVE_CLOCK_GETTIME)
-#if ! USE_CLOCK_GETTIME
-# include <sys/time.h>
-#endif
-
-#ifndef TIME_T_MAX
-# define TIME_T_MAX TYPE_MAXIMUM (time_t)
-#endif
-
#include "system.h"
#include "closeout.h"
#include "error.h"
#include "long-options.h"
-#include "timespec.h"
#include "xnanosleep.h"
#include "xstrtod.h"