Make fixups for libcrypt

This commit is contained in:
Justine Tunney 2024-02-23 07:39:44 -08:00
parent 9b4701b3bc
commit e72a88ea70
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 30 additions and 16 deletions

14
libc/unistd.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef COSMOPOLITAN_LIBC_UNISTD_H_
#define COSMOPOLITAN_LIBC_UNISTD_H_
COSMOPOLITAN_C_START_
#define _CS_PATH 0
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || \
defined(_COSMO_SOURCE)
void encrypt(char *, int) libcesque;
char *crypt(const char *, const char *) libcesque;
#endif
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_UNISTD_H_ */