projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove one unnecessary static var from dynamic linker
[musl]
/
src
/
crypt
/
crypt.c
1
#include <unistd.h>
2
#include <crypt.h>
3
4
char *__crypt_r(const char *, const char *, struct crypt_data *);
5
6
char *crypt(const char *key, const char *salt)
7
{
8
/* Note: update this size when we add more hash types */
9
static char buf[128];
10
return __crypt_r(key, salt, (struct crypt_data *)buf);
11
}