1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
emacs/lib-src
Paul Eggert 43aac990c3 Simplify EMACS_TIME-related code.
This portability layer is no longer needed, since Emacs has been
using struct timespec as a portability layer for some time.
Merge from gnulib, incorporating:
2013-08-27 timespec: new convenience constants and function
* src/atimer.h, src/buffer.h, src/dispextern.h, src/xgselect.h:
Include <time.h> rather than "systime.h"; that's all that's needed now.
* src/dispnew.c: Include <timespec.h> rather than "systime.h";
that's all that's needed now.
* src/systime.h (EMACS_TIME): Remove.  All uses changed to struct timespec.
(EMACS_TIME_RESOLUTION): Remove.  All uses changed to
TIMESPEC_RESOLUTION.
(LOG10_EMACS_TIME_RESOLUTION): Remove.  All uses changed to
LOG10_TIMESPEC_RESOLUTION.
(EMACS_SECS, emacs_secs_addr): Remove.  All uses changed to tv_sec.
(EMACS_NSECS): Remove.  All uses changed to tv_nsec.
(make_emacs_time): Remove.  All used changed to make_timespec.
(invalid_timespec): Rename from invalid_emacs_time.  All uses changed.
(current_timespec): Rename from current_emacs_time.  All uses changed.
(add_emacs_time): Remove.  All uses changed to timespec_add.
(sub_emacs_time): Remove.  All uses change dot timespec_sub.
(EMACS_TIME_SIGN): Remove.  All uses changed to timespec_sign.
(timespec_valid_p): Rename from EMACS_TIME_VALID_P.  All uses changed.
(EMACS_TIME_FROM_DOUBLE): Remove.  All uses changed to dtotimespec.
(EMACS_TIME_TO_DOUBLE): Remove.  All uses changed to timespectod.
(current_timespec): Rename from current_emacs_time.  All uses changed.
(EMACS_TIME_EQ, EMACS_TIME_LT, EMACS_TIME_LE): Remove.  All uses
changed to timespec_cmp.
* src/xgselect.c: Include <timespec.h>, since our .h files don't.
2013-08-27 11:47:55 -07:00
..
.gitignore Don't ignore files that are no longer generated 2011-02-13 19:35:05 +01:00
ChangeLog Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00
COPYING
ebrowse.c Port to C89. 2013-07-10 16:23:57 -07:00
emacsclient.c Port to C89. 2013-07-10 16:23:57 -07:00
etags.c Prefer plain 'static' to 'static inline'. 2013-07-01 17:33:04 -07:00
grep-changelog Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
hexl.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
make-docfile.c Port to C89. 2013-07-10 16:23:57 -07:00
Makefile.in Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00
makefile.w32-in Revert introduction of isearch-filter-predicates. 2013-08-05 14:05:46 -04:00
movemail.c Fix some minor races in hosts lacking mkostemp. 2013-08-04 09:56:56 -07:00
ntlib.c Fix bugs in update-game-score, on MS-Windows and elsewhere. 2013-08-05 20:09:28 +03:00
ntlib.h Fix bugs in update-game-score, on MS-Windows and elsewhere. 2013-08-05 20:09:28 +03:00
pop.c Port --enable-gcc-warnings to clang. 2013-05-17 22:32:17 -07:00
pop.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
profile.c Simplify EMACS_TIME-related code. 2013-08-27 11:47:55 -07:00
rcs2log Add 2013 to more copyright years 2013-01-02 17:35:49 -08:00
README
test-distrib.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
testfile
update-game-score.c Fix bugs in update-game-score, on MS-Windows and elsewhere. 2013-08-05 20:09:28 +03:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.