1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
To: vim-dev@vim.org
Subject: Patch 7.2.230
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------
Patch 7.2.230
Problem: A few old lint-style ARGUSED comments.
Solution: Change to the new UNUSED style.
Files: src/getchar.c
*** ../vim-7.2.229/src/getchar.c 2009-07-09 18:24:24.000000000 +0200
--- src/getchar.c 2009-07-09 18:09:13.000000000 +0200
***************
*** 3708,3718 ****
* Clear all mappings or abbreviations.
* 'abbr' should be FALSE for mappings, TRUE for abbreviations.
*/
- /*ARGSUSED*/
void
map_clear(cmdp, arg, forceit, abbr)
char_u *cmdp;
! char_u *arg;
int forceit;
int abbr;
{
--- 3708,3717 ----
* Clear all mappings or abbreviations.
* 'abbr' should be FALSE for mappings, TRUE for abbreviations.
*/
void
map_clear(cmdp, arg, forceit, abbr)
char_u *cmdp;
! char_u *arg UNUSED;
int forceit;
int abbr;
{
***************
*** 3741,3753 ****
/*
* Clear all mappings in "mode".
*/
- /*ARGSUSED*/
void
map_clear_int(buf, mode, local, abbr)
! buf_T *buf; /* buffer for local mappings */
! int mode; /* mode in which to delete */
! int local; /* TRUE for buffer-local mappings */
! int abbr; /* TRUE for abbreviations */
{
mapblock_T *mp, **mpp;
int hash;
--- 3740,3751 ----
/*
* Clear all mappings in "mode".
*/
void
map_clear_int(buf, mode, local, abbr)
! buf_T *buf UNUSED; /* buffer for local mappings */
! int mode; /* mode in which to delete */
! int local UNUSED; /* TRUE for buffer-local mappings */
! int abbr; /* TRUE for abbreviations */
{
mapblock_T *mp, **mpp;
int hash;
*** ../vim-7.2.229/src/version.c 2009-07-14 12:20:28.000000000 +0200
--- src/version.c 2009-07-14 13:44:05.000000000 +0200
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 230,
/**/
--
From "know your smileys":
:~) A man with a tape recorder up his nose
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|