summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-02-21 08:10:11 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-02-21 08:10:11 +0000
commit14d04168640831c91c91919df17a0d3354c562ae (patch)
tree286e580c94a88c6e50b7803d0973b3430a66b63c
parentdfefe8e5dece5631b18f78124add530f03c6e521 (diff)
downloadcoreutils-14d04168640831c91c91919df17a0d3354c562ae.tar.xz
(gettime): Return void, since it always
succeeds now. All uses changed.
-rw-r--r--lib/timespec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/timespec.h b/lib/timespec.h
index 2c32a23db..d751fc6ab 100644
--- a/lib/timespec.h
+++ b/lib/timespec.h
@@ -1,6 +1,6 @@
/* timespec -- System time interface
- Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -65,7 +65,7 @@ struct timespec
int nanosleep ();
# endif
-int gettime (struct timespec *);
+void gettime (struct timespec *);
int settime (struct timespec const *);
#endif