summaryrefslogtreecommitdiff
path: root/sysdeps/nacl/nacl-interfaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nacl/nacl-interfaces.h')
-rw-r--r--sysdeps/nacl/nacl-interfaces.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/nacl/nacl-interfaces.h b/sysdeps/nacl/nacl-interfaces.h
index 8d28e1a6df..4d2bda196d 100644
--- a/sysdeps/nacl/nacl-interfaces.h
+++ b/sysdeps/nacl/nacl-interfaces.h
@@ -20,6 +20,7 @@
#define _NACL_INTERFACES_H 1
#include <errno.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
@@ -72,7 +73,7 @@ next_nacl_interface (const struct nacl_interface *i)
{
uintptr_t align = __alignof (*i);
return (const void *) (((uintptr_t) &i->name[i->namelen] + align - 1)
- & -align);
+ & -align);
}
#if IS_IN (libpthread)
@@ -93,6 +94,12 @@ next_nacl_interface (const struct nacl_interface *i)
#undef NACL_OPTIONAL_INTERFACE
extern void __nacl_initialize_interfaces (void) attribute_hidden;
+extern bool __nacl_supply_interface_libc (const char *ident, size_t ident_len,
+ const void *table, size_t tablesize)
+ internal_function attribute_hidden;
+extern bool __nacl_supply_interface_rtld (const char *ident, size_t ident_len,
+ const void *table, size_t tablesize);
+ internal_function;
/* Convenience function for handling IRT call return values. */
static inline int