summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-09-11 20:36:17 +0000
committerAndreas Gruenbacher <agruen@suse.de>2009-03-19 01:43:38 +0100
commit7dbf714c4f00e4e8ed7e60d84a5775527c3e2e6f (patch)
tree720f420b0afb59dd0392f79e004389def78beca4
parent9dd8a64b17a4aab60f2944c86921ac549fd0a3e8 (diff)
downloadpatch-7dbf714c4f00e4e8ed7e60d84a5775527c3e2e6f.tar.gz
(copy_file, move_file): Adjust decls as per above. (init_backup_hash_table): New decl.
-rw-r--r--util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/util.h b/util.h
index fa630b6..d10c14e 100644
--- a/util.h
+++ b/util.h
@@ -1,6 +1,6 @@
/* utility functions for `patch' */
-/* $Id: util.h,v 1.20 2003/05/20 13:56:48 eggert Exp $ */
+/* $Id: util.h,v 1.21 2003/09/11 18:36:17 eggert Exp $ */
/* Copyright (C) 1986 Larry Wall
@@ -46,12 +46,13 @@ int create_file (char const *, int, mode_t);
int systemic (char const *);
char *format_linenum (char[LINENUM_LENGTH_BOUND + 1], LINENUM);
void Fseek (FILE *, file_offset, int);
-void copy_file (char const *, char const *, int, mode_t);
+void copy_file (char const *, char const *, struct stat *, int, mode_t);
void exit_with_signal (int) __attribute__ ((noreturn));
void ignore_signals (void);
+void init_backup_hash_table (void);
void init_time (void);
void memory_fatal (void) __attribute__ ((noreturn));
-void move_file (char const *, int volatile *, char *, mode_t, bool);
+void move_file (char const *, int volatile *, struct stat const *, char *, mode_t, bool);
void read_fatal (void) __attribute__ ((noreturn));
void remove_prefix (char *, size_t);
void removedirs (char *);