diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 13:18:54 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 13:18:54 +0400 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /networking/ifupdown.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r-- | networking/ifupdown.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index c12391863..af7bb6e17 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -512,8 +512,8 @@ static int dhcp_up(struct interface_defn_t *ifd, execfn *exec) ifd, exec); } #else -static int dhcp_up(struct interface_defn_t *ifd ATTRIBUTE_UNUSED, - execfn *exec ATTRIBUTE_UNUSED) +static int dhcp_up(struct interface_defn_t *ifd UNUSED_PARAM, + execfn *exec UNUSED_PARAM) { return 0; /* no dhcp support */ } @@ -537,14 +537,14 @@ static int dhcp_down(struct interface_defn_t *ifd, execfn *exec) "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec); } #else -static int dhcp_down(struct interface_defn_t *ifd ATTRIBUTE_UNUSED, - execfn *exec ATTRIBUTE_UNUSED) +static int dhcp_down(struct interface_defn_t *ifd UNUSED_PARAM, + execfn *exec UNUSED_PARAM) { return 0; /* no dhcp support */ } #endif -static int manual_up_down(struct interface_defn_t *ifd ATTRIBUTE_UNUSED, execfn *exec ATTRIBUTE_UNUSED) +static int manual_up_down(struct interface_defn_t *ifd UNUSED_PARAM, execfn *exec UNUSED_PARAM) { return 1; } |