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