mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibC: Move crypt() and crypt_r() to the right header file
According to POSIX.1 these should be in <crypt.h>.
This commit is contained in:
parent
f05086a5d2
commit
ce77caf479
6 changed files with 35 additions and 9 deletions
|
@ -171,14 +171,6 @@ enum {
|
|||
|
||||
long sysconf(int name);
|
||||
|
||||
struct crypt_data {
|
||||
int initialized;
|
||||
char result[65];
|
||||
};
|
||||
|
||||
char* crypt(const char* key, const char* salt);
|
||||
char* crypt_r(const char* key, const char* salt, struct crypt_data* data);
|
||||
|
||||
// If opterr is set (the default), print error messages to stderr.
|
||||
extern int opterr;
|
||||
// On errors, optopt is set to the erroneous *character*.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue