diff options
author | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2000-08-23 11:54:10 +0000 |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2000-08-23 11:54:10 +0000 |
commit | 25043ab6b7521546944161b8d46625bc5d7bbc54 (patch) | |
tree | 914f354d71b2f9cf1ff1e38a1f80ffeedbbc47d7 /libutil/login_crypt.c | |
parent | ec77fbdd713dcc79888a798e968d369f6ff0e933 (diff) | |
download | pw-darwin-25043ab6b7521546944161b8d46625bc5d7bbc54.tar.gz pw-darwin-25043ab6b7521546944161b8d46625bc5d7bbc54.tar.zst pw-darwin-25043ab6b7521546944161b8d46625bc5d7bbc54.zip |
Add weak symbol pragma for crypt_set_format().
Approved by: green
Diffstat (limited to 'libutil/login_crypt.c')
-rw-r--r-- | libutil/login_crypt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libutil/login_crypt.c b/libutil/login_crypt.c index fd21c9b..b291100 100644 --- a/libutil/login_crypt.c +++ b/libutil/login_crypt.c @@ -31,6 +31,12 @@ #include <login_cap.h> #include <unistd.h> +#pragma weak crypt_set_format +int +crypt_set_format(const char *f) { + return (0); +} + const char * login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) { const char *cipher; |