summaryrefslogtreecommitdiff
path: root/sunrpc/xcrypt.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 15:55:36 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 15:59:02 +0200
commitca4ec8039628cac6600541472b068be7535d4bb4 (patch)
tree93a4212150449d0a326ef7e259b6f802c4099f95 /sunrpc/xcrypt.c
parent24cffce7366c4070d8f823702a4fcec2cb732595 (diff)
sunrpc: Remove internal_function attribute
Diffstat (limited to 'sunrpc/xcrypt.c')
-rw-r--r--sunrpc/xcrypt.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sunrpc/xcrypt.c b/sunrpc/xcrypt.c
index da7c4e66b9..cb04a92cd2 100644
--- a/sunrpc/xcrypt.c
+++ b/sunrpc/xcrypt.c
@@ -63,11 +63,11 @@ static const char hex[16] =
: ({ int upp = toupper (c); \
upp >= 'A' && upp <= 'Z' ? upp - 'A' + 10 : -1; }))
#else
-static char hexval (char) internal_function;
+static char hexval (char);
#endif
-static void hex2bin (int, char *, char *) internal_function;
-static void bin2hex (int, unsigned char *, char *) internal_function;
+static void hex2bin (int, char *, char *);
+static void bin2hex (int, unsigned char *, char *);
void passwd2des_internal (char *pw, char *key);
#ifdef _LIBC
libc_hidden_proto (passwd2des_internal)
@@ -171,7 +171,6 @@ libc_hidden_nolink_sunrpc (xdecrypt, GLIBC_2_1)
* Hex to binary conversion
*/
static void
-internal_function
hex2bin (int len, char *hexnum, char *binnum)
{
int i;
@@ -184,7 +183,6 @@ hex2bin (int len, char *hexnum, char *binnum)
* Binary to hex conversion
*/
static void
-internal_function
bin2hex (int len, unsigned char *binnum, char *hexnum)
{
int i;