aboutsummaryrefslogtreecommitdiff
path: root/src/systems.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems.h')
-rw-r--r--src/systems.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/systems.h b/src/systems.h
index 750aa51..f269060 100644
--- a/src/systems.h
+++ b/src/systems.h
@@ -52,13 +52,6 @@
# define STATBLKSIZE(st) 1024
#endif
-/* Do we have ftruncate? */
-#if HAVE_FTRUNCATE
-# define TRUNCATE(dbf) ftruncate (dbf->desc, 0)
-#else
-# define TRUNCATE(dbf) close( open (dbf->name, O_RDWR|O_TRUNC, mode));
-#endif
-
#ifndef STDERR_FILENO
# define STDERR_FILENO 2
#endif

Return to:

Send suggestions and report system problems to the System administrator.