diff options
author | David 'Digit' Turner <digit@google.com> | 2010-10-09 17:56:55 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-10-09 17:56:55 +0200 |
commit | bb5581ad6eec40041dab4e961149f7a8a3a83497 (patch) | |
tree | 5e8c1e583da643c37143adff205c6d794a0850c5 /libc/include/sys | |
parent | af00228b705b53165c132a22b30c2d6cbb9acd13 (diff) | |
download | bionic-bb5581ad6eec40041dab4e961149f7a8a3a83497.zip bionic-bb5581ad6eec40041dab4e961149f7a8a3a83497.tar.gz bionic-bb5581ad6eec40041dab4e961149f7a8a3a83497.tar.bz2 |
libc: tag missing functions in system headers.
This matches recent changes in the NDK header.
We enclose missing functions in #if 0 .. #endif blocks
with a clear "MISSING" in comments in order to locate
them later.
Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
Diffstat (limited to 'libc/include/sys')
-rw-r--r-- | libc/include/sys/fsuid.h | 2 | ||||
-rw-r--r-- | libc/include/sys/mount.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/sys/fsuid.h b/libc/include/sys/fsuid.h index 3257bc0..bc47e3d 100644 --- a/libc/include/sys/fsuid.h +++ b/libc/include/sys/fsuid.h @@ -33,8 +33,10 @@ __BEGIN_DECLS +#if 0 /* MISSING FROM BIONIC */ extern int setfsuid(uid_t); extern int setfsgid(gid_t); +#endif /* MISSING */ __END_DECLS diff --git a/libc/include/sys/mount.h b/libc/include/sys/mount.h index 62c4ee2..ba88447 100644 --- a/libc/include/sys/mount.h +++ b/libc/include/sys/mount.h @@ -92,7 +92,10 @@ extern int mount(const char *, const char *, const void *); extern int umount(const char *); extern int umount2(const char *, int); + +#if 0 /* MISSING FROM BIONIC */ extern int pivot_root(const char *, const char *); +#endif /* MISSING */ __END_DECLS |