81c2858
To: vim-dev@vim.org
81c2858
Subject: Patch 7.2.230
81c2858
Fcc: outbox
81c2858
From: Bram Moolenaar <Bram@moolenaar.net>
81c2858
Mime-Version: 1.0
81c2858
Content-Type: text/plain; charset=UTF-8
81c2858
Content-Transfer-Encoding: 8bit
81c2858
------------
81c2858
81c2858
Patch 7.2.230
81c2858
Problem:    A few old lint-style ARGUSED comments.
81c2858
Solution:   Change to the new UNUSED style.
81c2858
Files:	    src/getchar.c
81c2858
81c2858
81c2858
*** ../vim-7.2.229/src/getchar.c	2009-07-09 18:24:24.000000000 +0200
81c2858
--- src/getchar.c	2009-07-09 18:09:13.000000000 +0200
81c2858
***************
81c2858
*** 3708,3718 ****
81c2858
   * Clear all mappings or abbreviations.
81c2858
   * 'abbr' should be FALSE for mappings, TRUE for abbreviations.
81c2858
   */
81c2858
- /*ARGSUSED*/
81c2858
      void
81c2858
  map_clear(cmdp, arg, forceit, abbr)
81c2858
      char_u	*cmdp;
81c2858
!     char_u	*arg;
81c2858
      int		forceit;
81c2858
      int		abbr;
81c2858
  {
81c2858
--- 3708,3717 ----
81c2858
   * Clear all mappings or abbreviations.
81c2858
   * 'abbr' should be FALSE for mappings, TRUE for abbreviations.
81c2858
   */
81c2858
      void
81c2858
  map_clear(cmdp, arg, forceit, abbr)
81c2858
      char_u	*cmdp;
81c2858
!     char_u	*arg UNUSED;
81c2858
      int		forceit;
81c2858
      int		abbr;
81c2858
  {
81c2858
***************
81c2858
*** 3741,3753 ****
81c2858
  /*
81c2858
   * Clear all mappings in "mode".
81c2858
   */
81c2858
- /*ARGSUSED*/
81c2858
      void
81c2858
  map_clear_int(buf, mode, local, abbr)
81c2858
!     buf_T	*buf;	    /* buffer for local mappings */
81c2858
!     int		mode;	    /* mode in which to delete */
81c2858
!     int		local;	    /* TRUE for buffer-local mappings */
81c2858
!     int		abbr;	    /* TRUE for abbreviations */
81c2858
  {
81c2858
      mapblock_T	*mp, **mpp;
81c2858
      int		hash;
81c2858
--- 3740,3751 ----
81c2858
  /*
81c2858
   * Clear all mappings in "mode".
81c2858
   */
81c2858
      void
81c2858
  map_clear_int(buf, mode, local, abbr)
81c2858
!     buf_T	*buf UNUSED;	/* buffer for local mappings */
81c2858
!     int		mode;		/* mode in which to delete */
81c2858
!     int		local UNUSED;	/* TRUE for buffer-local mappings */
81c2858
!     int		abbr;		/* TRUE for abbreviations */
81c2858
  {
81c2858
      mapblock_T	*mp, **mpp;
81c2858
      int		hash;
81c2858
*** ../vim-7.2.229/src/version.c	2009-07-14 12:20:28.000000000 +0200
81c2858
--- src/version.c	2009-07-14 13:44:05.000000000 +0200
81c2858
***************
81c2858
*** 678,679 ****
81c2858
--- 678,681 ----
81c2858
  {   /* Add new patch number below this line */
81c2858
+ /**/
81c2858
+     230,
81c2858
  /**/
81c2858
81c2858
-- 
81c2858
From "know your smileys":
81c2858
 :~)	A man with a tape recorder up his nose
81c2858
81c2858
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
81c2858
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
81c2858
\\\        download, build and distribute -- http://www.A-A-P.org        ///
81c2858
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///