changeset 5185:83074d3a5d31

(settime): Recode to avoid warning with Sun Forte C 6U2.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 11 Aug 2004 22:47:30 +0000
parents ffc7a08ca08b
children 384320e1f0e3
files lib/settime.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/settime.c
+++ b/lib/settime.c
@@ -67,8 +67,8 @@
 
 #if HAVE_STIME
   return stime (&ts->tv_sec);
-#endif
-
+#else
   errno = ENOSYS;
   return -1;
+#endif
 }