diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-30 12:23:37 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-30 12:23:37 -0700 |
commit | 9e4bf381b7f2ffa95c64cac0cd8015152a33289c (patch) | |
tree | 81ec2f9d47a0fb963ab83083c5ca849c3f85b9ba /lisp/emacs-lisp/rx.el | |
parent | 6e8a178669e918fb40a0cffce00757b2caae973d (diff) | |
download | emacs-9e4bf381b7f2ffa95c64cac0cd8015152a33289c.tar.gz emacs-9e4bf381b7f2ffa95c64cac0cd8015152a33289c.tar.bz2 emacs-9e4bf381b7f2ffa95c64cac0cd8015152a33289c.zip |
Clean up __executable_start, monstartup when --enable-profiling.
The following changes affect the code only when profiling.
* dispnew.c (__executable_start): Rename from safe_bcopy.
Define only on platforms that need it.
* emacs.c: Include <sys/gmon.h> when profiling.
(_mcleanup): Remove decl, since <sys/gmon.h> does it now.
(__executable_start): Remove decl, since lisp.h does it now.
(safe_bcopy): Remove decl; no longer has that name.
(main): Coalesce #if into single bit of code, for simplicity.
Cast pointers to uintptr_t, since standard libraries want integers
and not pointers.
* lisp.h (__executable_start): New decl.
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
0 files changed, 0 insertions, 0 deletions