comparison src/sysdep.c @ 109130:cd13b432f239

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.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 04 Jul 2010 15:41:55 +0200
parents aec1143e8d85
children 3e9fdeb960d1
comparison
equal deleted inserted replaced
109129:907fcf8bd2ef 109130:cd13b432f239
2577 #endif /* not HAVE_CLOSEDIR */ 2577 #endif /* not HAVE_CLOSEDIR */
2578 #endif /* SYSV_SYSTEM_DIR */ 2578 #endif /* SYSV_SYSTEM_DIR */
2579 2579
2580 2580
2581 int 2581 int
2582 set_file_times (const char *filename, struct timeval atime, struct timeval mtime) 2582 set_file_times (const char *filename, EMACS_TIME atime, EMACS_TIME mtime)
2583 { 2583 {
2584 #ifdef HAVE_UTIMES 2584 #ifdef HAVE_UTIMES
2585 struct timeval tv[2]; 2585 struct timeval tv[2];
2586 tv[0] = atime; 2586 tv[0] = atime;
2587 tv[1] = mtime; 2587 tv[1] = mtime;