]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Adapt crypt code to Unikraft
authorCostin Lupu <costin.lupu@cs.pub.ro>
Wed, 27 Nov 2019 14:22:31 +0000 (16:22 +0200)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Wed, 27 Nov 2019 19:26:05 +0000 (21:26 +0200)
commit256f8a8db3c2a48a1f7212d800f2e27221af987f
treec0ea0d161826bcdecbf50712bc899367c3959526
parent838ab142e54040cb65ae85a6ba04dd3e498ca98b
Adapt crypt code to Unikraft

We tried to keep the changes of the original code to a minimum. For this
purpose, we used the C preprocessor in order to disable the 'hidden' musl
qualifier. We also had to rename the <crypt.h> header in
`musl-imported/src/include` to <_crypt.h> because, being a private header, we
could not add its directory at the top of the include paths list to include it
before the <crypt.h> header in `musl-imported/include` (the latter being
a public include path).

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
Config.uk
Makefile.uk
musl-imported/src/crypt/crypt.c
musl-imported/src/crypt/crypt_r.c
musl-imported/src/include/_crypt.h [new file with mode: 0644]
musl-imported/src/include/crypt.h [deleted file]