mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 19:22:27 +00:00
Fix some build errors
This commit is contained in:
parent
7558549d44
commit
5b908bc756
8 changed files with 19 additions and 11 deletions
4
third_party/musl/rand48.c
vendored
4
third_party/musl/rand48.c
vendored
|
@ -25,8 +25,8 @@
|
|||
│ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. │
|
||||
│ │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/str/str.h"
|
||||
#include "third_party/musl/rand48.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
asm(".ident\t\"\\n\\n\
|
||||
Musl libc (MIT License)\\n\
|
||||
|
@ -87,7 +87,7 @@ long mrand48(void)
|
|||
return jrand48(__seed48);
|
||||
}
|
||||
|
||||
unsigned short *seed48(unsigned short *s)
|
||||
unsigned short *seed48(unsigned short s[3])
|
||||
{
|
||||
static unsigned short p[3];
|
||||
memcpy(p, __seed48, sizeof p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue