(nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'.
authorJim Meyering <jim@meyering.net>
Mon, 31 Jan 2000 22:38:04 +0000 (22:38 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 31 Jan 2000 22:38:04 +0000 (22:38 +0000)
lib/nanosleep.h

index be28d7637d717892c5fec1bac6f86453745e4d2f..92898d36171b9bf16f2ae3a1a6bd527144c61cfa 100644 (file)
@@ -50,8 +50,10 @@ struct timespec
 };
 # endif
 
+# if ! HAVE_DECL_NANOSLEEP
 int
 nanosleep PARAMS ((const struct timespec *requested_delay,
                   struct timespec *remaining_delay));
+# endif
 
 #endif