Mercurial > emacs
view lwlib/lwlib-Xlw.h @ 31515:92dec3ff92a1
(mmap_fd): Remove initializer which can make it
read-only in a dumped Emacs.
(mmap_fd_1): New variable.
(mmap_set_vars): Remove local `fd'. Save mmap_fd in mmap_fd_1,
restore it from there.
(r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init
unconditionally so that mmap_fd can be initialized there.
(r_alloc_init_fd): Open-coded in r_alloc_init; function removed.
(r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero.
(r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 08 Sep 2000 19:52:38 +0000 |
parents | 6ed38ee607e9 |
children | 695cf19ef79e |
line wrap: on
line source
#ifndef LWLIB_XLW_H #define LWLIB_XLW_H #include "lwlib-int.h" extern widget_creation_entry xlw_creation_table []; extern widget_creation_function xlw_create_dialog; Boolean lw_lucid_widget_p __P ((Widget widget)); void xlw_update_one_widget __P ((widget_instance* instance, Widget widget, widget_value* val, Boolean deep_p)); void xlw_update_one_value __P ((widget_instance* instance, Widget widget, widget_value* val)); void xlw_destroy_instance __P ((widget_instance* instance)); void xlw_pop_instance __P ((widget_instance* instance, Boolean up)); void xlw_popup_menu __P ((Widget widget, XEvent * event)); #endif /* LWLIB_XLW_H */