summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r--kexec/kexec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c
index e78529c..b1dbe8f 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -1017,8 +1017,7 @@ int main(int argc, char *argv[])
sync();
}
if ((result == 0) && do_ifdown) {
- extern int ifdown(void);
- (void)ifdown();
+ ifdown();
}
if ((result == 0) && do_exec) {
result = my_exec();