summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2005-10-21 10:43:11 +0000
committerBernhard Reutner-Fischer2005-10-21 10:43:11 +0000
commit38d6615ed246c6cd888b2c796b3431680950ae29 (patch)
treef609e6a7cc14b06ba0dd83899087c9cca1d14d0c
parent1f0262bcdb352e9a75a4e5f48cd63d05714e2859 (diff)
downloadbusybox-38d6615ed246c6cd888b2c796b3431680950ae29.zip
busybox-38d6615ed246c6cd888b2c796b3431680950ae29.tar.gz
- fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.
-rw-r--r--networking/zcip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/zcip.c b/networking/zcip.c
index ccf399b..5436cb5 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -243,9 +243,12 @@ ms_rdelay(unsigned secs)
/**
* main program
*/
+
+#ifdef NO_BUSYBOX
int
main(int argc, char *argv[])
__attribute__ ((weak, alias ("zcip_main")));
+#endif
int zcip_main(int argc, char *argv[])
{