Add weak symbol pragma for crypt_set_format().

Approved by:	green
This commit is contained in:
asmodai 2000-08-23 11:54:10 +00:00
parent 3226a5dc26
commit 33139c1c7f

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;