summaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-04 16:37:55 +0000
committerbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-04 16:37:55 +0000
commitd8dd2062cdbbcb05d0c1e517cd97c513aea32b4f (patch)
treecf769055937cac1e35312ec316fec27e5966ab39 /gcc/ada/adaint.h
parent1084d1c7d3a2db70926d0ff69f3815aad14e0782 (diff)
downloadgcc-d8dd2062cdbbcb05d0c1e517cd97c513aea32b4f.tar.gz
* gnatchop.adb:
(File_Time_Stamp): New procedure. (Preserve_Mode): New boolean. (Write_Unit): Pass time stamp. Implement -p switch (preserve time stamps). * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). * gnatchop.adb: Do usage info for -p switch * adaint.h (__gnat_set_file_time_name): New function * adaint.c (__gnat_set_file_time_name): Implement * adaint.h: Fix typo git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47613 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r--gcc/ada/adaint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index 474c68a9c8a..8bcdbcf46f6 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -69,6 +69,7 @@ extern char *__gnat_readdir PARAMS ((DIR *, char *));
extern int __gnat_readdir_is_thread_safe PARAMS ((void));
extern time_t __gnat_file_time_name PARAMS ((char *));
extern time_t __gnat_file_time_fd PARAMS ((int));
+extern void __gnat_set_file_time_name PARAMS ((char *, time_t));
extern void __gnat_get_env_value_ptr PARAMS ((char *, int *,
char **));
extern int __gnat_file_exists PARAMS ((char *));