summaryrefslogtreecommitdiff
path: root/gl/lib/fstimeprec.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-13 08:04:13 +0100
committerJim Meyering <meyering@redhat.com>2010-11-13 11:41:02 +0100
commitff5fc553f974513e27015faa414fca3603e928e7 (patch)
treeda77ef83e150e04d5248cdfde48cf19d1fa4a265 /gl/lib/fstimeprec.h
parent4a8e9bf14c33b356680298d29f7321d82d4fde5d (diff)
downloadcoreutils-ff5fc553f974513e27015faa414fca3603e928e7.tar.xz
maint: remove fstimeprec (variable precision time stamp) support
The implementation of variable-precision time stamps relied on heuristics that made the output subtly nondeterministic, or at least hard to reproduce: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/21531/focus=21538 So, for now at least, we're removing that feature. * bootstrap.conf (gnulib_modules): Remove fstimeprec. * gl/lib/fstimeprec.c, gl/lib/fstimeprec.h: Remove files. * gl/modules/fstimeprec, gl/modules/fstimeprec-tests: Likewise. * gl/tests/test-fstimeprec.c: Remove file.
Diffstat (limited to 'gl/lib/fstimeprec.h')
-rw-r--r--gl/lib/fstimeprec.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/gl/lib/fstimeprec.h b/gl/lib/fstimeprec.h
deleted file mode 100644
index 8ec24df76..000000000
--- a/gl/lib/fstimeprec.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <sys/stat.h>
-
-#ifndef ATTRIBUTE_MALLOC
-# if __GNUC__ >= 3
-# define ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
-# else
-# define ATTRIBUTE_MALLOC
-# endif
-#endif
-
-#ifndef _GL_ARG_NONNULL
-# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3
-# define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
-# else
-# define _GL_ARG_NONNULL(params)
-# endif
-#endif
-
-struct fstimeprec *fstimeprec_alloc (void) ATTRIBUTE_MALLOC;
-void fstimeprec_free (struct fstimeprec *) _GL_ARG_NONNULL ((1));
-int fstimeprec (struct fstimeprec *, struct stat const *)
- _GL_ARG_NONNULL ((2));