diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-10-20 14:30:51 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-10-20 14:30:51 -0700 |
commit | 4973679b3f9f9d6251579c5949abe18f964c24b6 (patch) | |
tree | 1d33392cc554b47dfeb0204fa33dbd738d9eede2 /lib-src/make-docfile.c | |
parent | 83c85d8e2e6c1e1cb309f554555e1aebc1dcb44f (diff) | |
download | emacs-4973679b3f9f9d6251579c5949abe18f964c24b6.tar.gz emacs-4973679b3f9f9d6251579c5949abe18f964c24b6.tar.bz2 emacs-4973679b3f9f9d6251579c5949abe18f964c24b6.zip |
Port to OpenBSD 5.1.
* frame.c (Fmouse_position, Fmouse_pixel_position):
* xdisp.c (produce_stretch_glyph):
Declare local vars only when they're needed.
This is clearer and avoids a warning on OpenBSD about unused vars.
* frame.h (FRAME_WINDOW_P): Always evaluate its argument.
This is safer, and avoids OpenBSD warnings about unused vars.
* keyboard.c (record_menu_key): Remove unnecessary decl.
(poll_timer): Define only if POLL_FOR_INPUT is defined.
* unexelf.c (ELFSIZE) [!ElfW]: Do not define if already defined,
as our definition clashes with OpenBSD's.
* xfaces.c (load_face_colors, check_lface_attrs)
(get_lface_attributes_no_remap, get_lface_attributes)
(lface_fully_specified_p, x_supports_face_attributes_p)
(tty_supports_face_attributes_p, face_fontset, realize_face)
(realize_x_face, realize_tty_face):
Declare parameters to be Lisp_Object[LFACE_VECTOR_SIZE], not
merely Lisp_Object *. This is more informative and avoids
a warning on OpenBSD about accessing beyond an object's size.
Diffstat (limited to 'lib-src/make-docfile.c')
0 files changed, 0 insertions, 0 deletions