From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/4] password: fix command support as module
Date: Tue, 5 Jul 2011 07:55:57 +0200 [thread overview]
Message-ID: <1309845357-12285-4-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1309845357-12285-1-git-send-email-plagnioj@jcrosoft.com>
add missing EXPORT_SYMBOL for nan static function
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
common/password.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/common/password.c b/common/password.c
index cf36970..20e398f 100644
--- a/common/password.c
+++ b/common/password.c
@@ -87,6 +87,7 @@ int password(unsigned char *passwd, size_t length, int flags)
}
} while(1);
}
+EXPORT_SYMBOL(password);
int is_passwd_enable(void)
{
@@ -101,11 +102,13 @@ int is_passwd_enable(void)
return 1;
}
+EXPORT_SYMBOL(is_passwd_enable);
int passwd_disable(void)
{
return unlink(PASSWD_FILE);
}
+EXPORT_SYMBOL(passwd_disable);
static unsigned char to_digit(unsigned char c)
{
@@ -167,6 +170,7 @@ exit:
return ret;
}
+EXPORT_SYMBOL(read_passwd);
int write_passwd(unsigned char *sum, size_t length)
{
@@ -215,6 +219,7 @@ exit:
return ret;
}
+EXPORT_SYMBOL(write_passwd);
int check_passwd(unsigned char* passwd, size_t length)
{
@@ -258,6 +263,7 @@ err1:
return ret;
}
+EXPORT_SYMBOL(check_passwd);
int set_passwd(unsigned char* passwd, size_t length)
{
@@ -284,3 +290,4 @@ int set_passwd(unsigned char* passwd, size_t length)
return ret;
}
+EXPORT_SYMBOL(set_passwd);
--
1.7.4.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-07-05 6:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 5:55 [PATCH 1/4] twl4030: fix typo on EXPORT_SYMBOL twl4030_reg_read and twl4030_reg_write Jean-Christophe PLAGNIOL-VILLARD
2011-07-05 5:55 ` [PATCH 2/4] menu: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
2011-07-05 5:55 ` [PATCH 3/4] menu: fix command management module support Jean-Christophe PLAGNIOL-VILLARD
2011-07-05 5:55 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309845357-12285-4-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox