- 16 Apr, 2011 40 commits
-
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
Define only if needed.
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
by pacifying GCC about it. Maybe it's time to retire it?
-
Paul Eggert authored
to avoid shadowing.
-
Paul Eggert authored
-
Paul Eggert authored
(make_menu_in_widget): Add cast to avoid warning.
-
Paul Eggert authored
about alignment.
-
Paul Eggert authored
(main): Remove unused var. Mark var as initialized. Move locals to avoid shadowing, and use time_t for times.
-
Paul Eggert authored
with void *. This avoids warnings about pointer casts.
-
Paul Eggert authored
(IS_ANY_SEP): Remove; unused. (get_current_dir_name): Add an extern decl.
-
Paul Eggert authored
USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC.
-
Paul Eggert authored
it.
-
Paul Eggert authored
so that we aren't warned about unused symbols.
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
(toolkit_scroll_bar_interaction): Define and use only if USE_X_TOOLKIT. (x_dispatch_event): Declare static only if !USE_GTK && USE_X_TOOLKIT. Define if USE_GTK || (HAVE_MENUS && USE_X_TOOLKIT); USE_MOTIF need not be part of this test. (SET_SAVED_BUTTON_EVENT): Define only if USE_X_TOOLKIT || USE_GTK. * xterm.h (x_dispatch_event): Use USE_GTK, not USE_MOTIF, when testing whether to declare. * xterm.c, xterm.h (x_mouse_leave): Bring this function back, but only if defined HAVE_MENUS && !defined USE_X_TOOLKIT && !defined USE_GTK.
-
Paul Eggert authored
Use const pointers when pointing at readonly data. Avoid pointer signedness clashes. (FALSE): Remove unused macro. (update_frame_menubar): Remove unused decl.
-
Paul Eggert authored
-
Paul Eggert authored
USE_X_TOOLKIT || USE_GTK || HAVE_NS || defined HAVE_NTGUI. (single_menu_item): Rename local to avoid shadowing.
-
Paul Eggert authored
-
Paul Eggert authored
only if HAVE_X_WINDOWS && !USE_X_TOOLKIT.
-
Paul Eggert authored
-
Paul Eggert authored
* Activate.c (XMenuActivate): Callback's first arg is readonly. * AddPane.c (XMenuAddPane): Label is readonly. Rename local to avoid shadowing. * AddSel.c (XMenuAddSelection): Help arg is readonly. Rename local. * Create.c (atoi, atof): Remove decls; include <stdlib.h>. (MAX_INACT_PNUM, TILE_BUF_SIZE): Remove; unused. (x_get_resource_string): Args are readonly. (XAllocDisplayColor): colorName is readonly. (XMenuCreate): def_env is readonly. Remove unused locals. Avoid "else;". * Destroy.c (XMenuDestroy): Return void. * Error.c (XMenuError): Remove const pointer. * EvHand.c (XMenuEventHandler): Return void. * FindPane.c, FindSel.c: Include <string.h>. * InsPane.c (XMenuInsertPane): Rename local to avoid shadowing. * InsSel.c (XMenuInsertSelection): Likewise. * Internal.c (toggle_color, BUFFER_SIZE): Remove; unused. (_XMErrorList): Now const. (_XMWinQueInit, _XMRecomputeGlobals, _XMTransToOrigin, _XMRefreshPane): (_XMRefreshSelection): Return void. (_XMWinQueFlush, _XMRefreshSelection): Rename locals to avoid shadowing. (_XMWinQueFlush): Use stack, not heap. Don't use uninitialized var. * SetAEQ.c (XMenuSetAEQ): Now returns void. * SetFrz.c (XMenuSetFreeze): Likewise. * X10.h (XAssoc): Use void * for generic pointer. * XDelAssoc.c: Include XMenuInt.h rather than duplicating part of it. * XDestAssoc.c, XMakeAssoc.c: Likewise. * XDestAssoc.c (XDestroyAssocTable): Return void. * XMakeAssoc.c (XMakeAssoc): Use void * for generic pointer. * XMenu.h, XMenuInt.h: Adjust to signature changes. Use const for pointers to readonly storage. * insque.c: Include XMenuInt.h, to check our own signature. (emacs_insque, emacs_remque): Use void * for generic pointers.
-
Paul Eggert authored
even if ! (defined (USE_GTK) || defined (HAVE_GCONF)).
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
to read-only memory.
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-