projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d7bf7e
)
(settime): Recode to avoid warning with Sun Forte C 6U2.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 11 Aug 2004 22:47:30 +0000
(22:47 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 11 Aug 2004 22:47:30 +0000
(22:47 +0000)
lib/settime.c
patch
|
blob
|
history
diff --git
a/lib/settime.c
b/lib/settime.c
index e989a6db608a63f968c53c8b7289bb0e523e4ac7..4b9111a208641eaed230ca9cf269ee902658d82e 100644
(file)
--- 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
}