summaryrefslogtreecommitdiff
path: root/modules/clean-temp
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-08 22:09:09 +0200
committerBruno Haible <bruno@clisp.org>2020-08-08 22:09:09 +0200
commita7c4d409435d09428d990c4d4adeea09c4c00912 (patch)
tree596c0d98cf9fe5ea17d40639caae52bca27362a2 /modules/clean-temp
parentf9f3407212edb967b97d14f007919e7ee0927135 (diff)
downloadgnulib-a7c4d409435d09428d990c4d4adeea09c4c00912.tar.gz
clean-temp: Use module 'thread-optim'.
* lib/clean-temp.c: Include thread-optim.h. (register_temporary_file, unregister_temporary_file, create_temp_dir, register_temp_file, unregister_temp_file, register_temp_subdir, unregister_temp_subdir, cleanup_temp_dir_contents, register_fd, close_temp, fclose_variant_temp): Use IF_MT macro. * modules/clean-temp (Depends-on): Add thread-optim.
Diffstat (limited to 'modules/clean-temp')
-rw-r--r--modules/clean-temp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/clean-temp b/modules/clean-temp
index 940869de4e..69157a5746 100644
--- a/modules/clean-temp
+++ b/modules/clean-temp
@@ -10,6 +10,7 @@ stdbool
stdint
unistd
lock
+thread-optim
error
fatal-signal
asyncsafe-spin