[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100712: Fix more prototypes.
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100712: Fix more prototypes. |
Date: |
Sun, 04 Jul 2010 15:41:55 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100712
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sun 2010-07-04 15:41:55 +0200
message:
Fix more prototypes.
* atimer.c (start_atimer): Use EMACS_TIME, not struct timeval.
* sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval.
* xgselect.c (xg_select): Use SELECT_TYPE, EMACS_TIME.
modified:
src/ChangeLog
src/atimer.c
src/sysdep.c
src/xgselect.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-07-04 11:51:28 +0000
+++ b/src/ChangeLog 2010-07-04 13:41:55 +0000
@@ -2,11 +2,14 @@
Fix prototypes.
+ * atimer.c (start_atimer): Use EMACS_TIME, not struct timeval.
* dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent.
* fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object,
as required by internal_condition_case_1.
* regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object.
(analyse_first): Fix "const const".
+ * sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval.
+ * xgselect.c (xg_select): Use SELECT_TYPE, EMACS_TIME.
2010-07-04 Dan Nicolaescu <address@hidden>
=== modified file 'src/atimer.c'
--- a/src/atimer.c 2010-07-04 07:50:25 +0000
+++ b/src/atimer.c 2010-07-04 13:41:55 +0000
@@ -90,7 +90,8 @@
to cancel_atimer; don't free it yourself. */
struct atimer *
-start_atimer (enum atimer_type type, struct timeval time, atimer_callback fn,
void *client_data)
+start_atimer (enum atimer_type type, EMACS_TIME time, atimer_callback fn,
+ void *client_data)
{
struct atimer *t;
=== modified file 'src/sysdep.c'
--- a/src/sysdep.c 2010-07-04 07:50:25 +0000
+++ b/src/sysdep.c 2010-07-04 13:41:55 +0000
@@ -2579,7 +2579,7 @@
int
-set_file_times (const char *filename, struct timeval atime, struct timeval
mtime)
+set_file_times (const char *filename, EMACS_TIME atime, EMACS_TIME mtime)
{
#ifdef HAVE_UTIMES
struct timeval tv[2];
=== modified file 'src/xgselect.c'
--- a/src/xgselect.c 2010-07-04 07:50:25 +0000
+++ b/src/xgselect.c 2010-07-04 13:41:55 +0000
@@ -29,7 +29,8 @@
static int gfds_size;
int
-xg_select (int max_fds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct
timeval *timeout)
+xg_select (int max_fds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE
*efds,
+ EMACS_TIME *timeout)
{
SELECT_TYPE all_rfds, all_wfds;
EMACS_TIME tmo, *tmop = timeout;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100712: Fix more prototypes.,
Juanma Barranquero <=