diff options
author | Denis Vlasenko | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /editors/vi.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c index 81baa89..1f1d3ca 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2141,7 +2141,7 @@ static void cookmode(void) //----- Come here when we get a window resize signal --------- #if ENABLE_FEATURE_VI_USE_SIGNALS -static void winch_sig(int sig ATTRIBUTE_UNUSED) +static void winch_sig(int sig UNUSED_PARAM) { // FIXME: do it in main loop!!! signal(SIGWINCH, winch_sig); @@ -2155,7 +2155,7 @@ static void winch_sig(int sig ATTRIBUTE_UNUSED) } //----- Come here when we get a continue signal ------------------- -static void cont_sig(int sig ATTRIBUTE_UNUSED) +static void cont_sig(int sig UNUSED_PARAM) { rawmode(); // terminal to "raw" last_status_cksum = 0; // force status update @@ -2167,7 +2167,7 @@ static void cont_sig(int sig ATTRIBUTE_UNUSED) } //----- Come here when we get a Suspend signal ------------------- -static void suspend_sig(int sig ATTRIBUTE_UNUSED) +static void suspend_sig(int sig UNUSED_PARAM) { place_cursor(rows - 1, 0, FALSE); // go to bottom of screen clear_to_eol(); // Erase to end of line |