summaryrefslogtreecommitdiff
path: root/xedit.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-05-10 21:36:36 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-02 19:08:06 -0300
commit2b4ebe868b660a69800dc5fe801bbcc05ccaefac (patch)
tree1cd1c0efb1e15ce99182a15a3ac4a5a80a2534f5 /xedit.h
parent0b8304c49ab2958bc2b4ef7286467a71faa38f41 (diff)
Warn if a newer version of a file exists before overwritting it.
Diffstat (limited to 'xedit.h')
-rw-r--r--xedit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xedit.h b/xedit.h
index 326071e..0abda4c 100644
--- a/xedit.h
+++ b/xedit.h
@@ -29,6 +29,7 @@
/* $XFree86: xc/programs/xedit/xedit.h,v 1.17 2002/10/06 17:11:39 paulo Exp $ */
#include <stdio.h>
+#include <time.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/cursorfont.h>
@@ -79,6 +80,7 @@ typedef struct _xedit_flist_item {
FileAccess file_access;
XawTextPosition display_position, insert_position;
int mode;
+ time_t mtime;
XawTextPropertyList *properties;
XawTextWrapMode wrap;
XeditLispData *xldata;