aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/modules/hello.c
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-06-17 11:57:39 +0800
committerFeng Tang <feng.tang@intel.com>2010-07-20 11:10:03 +0800
commit2c3f9a53205e8a44a4b58f68e3cce2732225d05f (patch)
tree166b168863285e7c2629c3a6065f14ba118f123f /com32/elflink/modules/hello.c
parent601b091ac3403817d839e99ab83d399af4e8dbe9 (diff)
downloadsyslinux-2c3f9a53205e8a44a4b58f68e3cce2732225d05f.tar.gz
syslinux-2c3f9a53205e8a44a4b58f68e3cce2732225d05f.tar.xz
syslinux-2c3f9a53205e8a44a4b58f68e3cce2732225d05f.zip
elflink: change the main func of hello.c to static
Otherwise it will be global and can't be searched, still don't know the real reason
Diffstat (limited to 'com32/elflink/modules/hello.c')
-rw-r--r--com32/elflink/modules/hello.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/com32/elflink/modules/hello.c b/com32/elflink/modules/hello.c
index 3db23536..cba63e2e 100644
--- a/com32/elflink/modules/hello.c
+++ b/com32/elflink/modules/hello.c
@@ -14,8 +14,7 @@
#define NUM_COUNT 10
#define MAX_NUM 100
-//static int hello_main(int argc, char **argv)
-int hello_main(int argc, char **argv)
+static int hello_main(int argc, char **argv)
{
int *nums = NULL;
int i;