Fredrik Fornwall
f153ee9321
ndk_patches: Revert inline marker
Does not work for pre-c99 mode.
9 years ago
Fredrik Fornwall
14b3e28128
ndk_patches: Mark added functions as inline
This avoids warnings about unused functions.
9 years ago
Fredrik Fornwall
0475ed5665
ndk_patches: Include correct fcntl.h in stdio.h
Include <asm/fcntl.h> and not <asm-generic/fcntl.h>. The first one
has arch-specific values before including the second one, which
checks with #ifdef before defining generic values.
9 years ago
Michał Bednarski
30cd646434
Add missing argument to open(, O_CREAT) in tmpfile()
9 years ago
Fredrik Fornwall
7f44723565
Silence compiler warnings for ctermid return value
9 years ago
Fredrik Fornwall
b29ec8d981
stdio.h: Avoid pulling in complete fcntl.h
This pollutes the namespace and breaks building e.g. python, which
defines a tee() function.
9 years ago
Fredrik Fornwall
2c4c89b3bc
stdio.h: Use arc4random() instead of random()
9 years ago
Fredrik Fornwall
a4b036426c
ndk_patches: Patch stdio.h for a basic tmpfile(3)
9 years ago
Fredrik Fornwall
c501b8272d
Add back TERMUX_PREFIX in patch
9 years ago
Fredrik Fornwall
9867ff1aca
Include <string.h> in <stdio.h> for ctermid()
9 years ago
Francisco Demartino
93b884f130
ndk_patches/stdio.h.patch: add bogus ctermid()
9 years ago
Fredrik Fornwall
59f0d218a6
Initial push
10 years ago