From: Paul Eggert Date: Wed, 11 Aug 2004 22:47:30 +0000 (+0000) Subject: (settime): Recode to avoid warning with Sun Forte C 6U2. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e244e99d0442904e9f351ca14a7fca128f7ca3c6;p=pspp (settime): Recode to avoid warning with Sun Forte C 6U2. --- diff --git a/lib/settime.c b/lib/settime.c index e989a6db60..4b9111a208 100644 --- a/lib/settime.c +++ b/lib/settime.c @@ -67,8 +67,8 @@ settime (struct timespec const *ts) #if HAVE_STIME return stime (&ts->tv_sec); -#endif - +#else errno = ENOSYS; return -1; +#endif }