]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove now-unused #include and #define directives.
authorJim Meyering <jim@meyering.net>
Sat, 8 Mar 2003 14:30:28 +0000 (14:30 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 8 Mar 2003 14:30:28 +0000 (14:30 +0000)
src/sleep.c

index 542c8f10fd9da8463ff9a277134e42e5905e1908..f8a818692e98cff181a47736633fc72836530794 100644 (file)
@@ -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
 #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"