changeset 2238:f0278ccf199d

(nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'.
author Jim Meyering <jim@meyering.net>
date Mon, 31 Jan 2000 22:38:04 +0000
parents 5fc41d889f78
children 198da01bc5e1
files lib/nanosleep.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/nanosleep.h
+++ b/lib/nanosleep.h
@@ -50,8 +50,10 @@
 };
 # endif
 
+# if ! HAVE_DECL_NANOSLEEP
 int
 nanosleep PARAMS ((const struct timespec *requested_delay,
 		   struct timespec *remaining_delay));
+# endif
 
 #endif