Fredrik Fornwall
5c36f4e054
ndk_patches: Use __inline__ for custom functions
...
This avoids warnings due to unused functions when building.
2016-09-22 14:43:21 -04:00
Fredrik Fornwall
f153ee9321
ndk_patches: Revert inline marker
...
Does not work for pre-c99 mode.
2016-05-25 16:24:43 -04:00
Fredrik Fornwall
14b3e28128
ndk_patches: Mark added functions as inline
...
This avoids warnings about unused functions.
2016-05-25 16:18:19 -04:00
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.
2016-05-18 00:43:18 -04:00
Michał Bednarski
30cd646434
Add missing argument to open(, O_CREAT) in tmpfile()
2016-05-12 19:34:23 +02:00
Fredrik Fornwall
7f44723565
Silence compiler warnings for ctermid return value
2016-04-29 02:39:29 +02:00
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.
2016-04-11 09:15:57 -04:00
Fredrik Fornwall
2c4c89b3bc
stdio.h: Use arc4random() instead of random()
2016-04-11 07:22:10 -04:00
Fredrik Fornwall
a4b036426c
ndk_patches: Patch stdio.h for a basic tmpfile(3)
2016-04-11 07:11:39 -04:00
Fredrik Fornwall
c501b8272d
Add back TERMUX_PREFIX in patch
2015-12-24 03:21:22 -05:00
Fredrik Fornwall
9867ff1aca
Include <string.h> in <stdio.h> for ctermid()
2015-12-24 03:20:05 -05:00
Francisco Demartino
93b884f130
ndk_patches/stdio.h.patch: add bogus ctermid()
2015-12-24 04:13:53 -03:00
Fredrik Fornwall
59f0d218a6
Initial push
2015-06-13 01:03:31 +02:00