Add weak symbol pragma for crypt_set_format().

Approved by:	green
This commit is contained in:
Jeroen Ruigrok van der Werven 2000-08-23 11:54:10 +00:00
parent 4eb207a1ae
commit de4b2114a4

View File

@ -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;