1. 16 Apr, 2011 1 commit
    • Paul Eggert's avatar
      Modernize to C89, for better static checking. · 55660072
      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.
      55660072
  2. 15 Jan, 2011 1 commit
  3. 04 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert function definitions in oldXMenu to standard C. · b782e2d7
      Dan Nicolaescu authored
      * oldXMenu/Activate.c: Convert function definitions to standard C.
      * oldXMenu/AddPane.c:
      * oldXMenu/AddSel.c:
      * oldXMenu/ChgPane.c:
      * oldXMenu/ChgSel.c:
      * oldXMenu/Create.c:
      * oldXMenu/DelPane.c:
      * oldXMenu/DelSel.c:
      * oldXMenu/Destroy.c:
      * oldXMenu/Error.c:
      * oldXMenu/EvHand.c:
      * oldXMenu/FindPane.c:
      * oldXMenu/FindSel.c:
      * oldXMenu/InsPane.c:
      * oldXMenu/InsSel.c:
      * oldXMenu/Internal.c:
      * oldXMenu/Locate.c:
      * oldXMenu/Post.c:
      * oldXMenu/Recomp.c:
      * oldXMenu/SetAEQ.c:
      * oldXMenu/SetFrz.c:
      * oldXMenu/SetPane.c:
      * oldXMenu/SetSel.c:
      * oldXMenu/X10.h:
      * oldXMenu/XCrAssoc.c:
      * oldXMenu/XDelAssoc.c:
      * oldXMenu/XDestAssoc.c:
      * oldXMenu/XLookAssoc.c:
      * oldXMenu/XMakeAssoc.c:
      * oldXMenu/XMenu.h:
      * oldXMenu/XMenuInt.h:
      * oldXMenu/insque.c: Likewise.
      b782e2d7
  4. 27 Feb, 2007 1 commit
  5. 21 Jan, 2007 1 commit
  6. 10 Dec, 2006 1 commit
  7. 05 Feb, 2006 1 commit
  8. 16 Aug, 2005 1 commit
  9. 16 Apr, 2004 1 commit
  10. 10 Apr, 2004 1 commit
    • Miles Bader's avatar
      Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196 · 1f3ddf11
      Miles Bader authored
      Remove RCS keywords
      
      2004-04-10  Miles Bader  <miles@gnu.org>
      
         RCS keyword removal (only non-comment changes are enumerated here):
      
         * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
         (byte-compile-insert-header): Don't use `byte-compile-version'.
         * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
         instead of calculating something from the RCS `State' keyword
         [the latter is almost entirely useless anyway].
         * lisp/forms.el (forms-version): Variable removed.
         (forms-mode): Don't use `forms-version'.
         * lisp/recentf.el (recentf-version): Variable removed.
         * lisp/progmodes/delphi.el (delphi-version): Variable removed.
         * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
      1f3ddf11
  11. 24 Dec, 2003 1 commit
  12. 08 Sep, 2003 1 commit
  13. 01 Sep, 2003 1 commit
  14. 04 Feb, 2003 1 commit
  15. 03 Oct, 1999 1 commit
    • Dave Love's avatar
      # · e745ede7
      Dave Love authored
      e745ede7