Improve <sys/cdefs.h>.
Fix and use __RENAME (and lose ___RENAME --- two underscores should be enough for anybody). This was the point of this change, because I want to use __RENAME to support the two basename variants and the two strerror_r variants. Lose a bunch of macros that weren't being used. Lose three dead files from the DNS code. Change-Id: I3ef645c566b16a52217bc2e68c7d54b37c7c9522
This commit is contained in:
@@ -82,9 +82,9 @@ extern ssize_t vmsplice(int, const struct iovec*, size_t, unsigned int);
|
||||
#if defined(__BIONIC_FORTIFY)
|
||||
|
||||
extern int __open_2(const char*, int);
|
||||
extern int __open_real(const char*, int, ...) __asm__(__USER_LABEL_PREFIX__ "open");
|
||||
extern int __open_real(const char*, int, ...) __RENAME(open);
|
||||
extern int __openat_2(int, const char*, int);
|
||||
extern int __openat_real(int, const char*, int, ...) __asm__(__USER_LABEL_PREFIX__ "openat");
|
||||
extern int __openat_real(int, const char*, int, ...) __RENAME(openat);
|
||||
__errordecl(__creat_missing_mode, "called with O_CREAT, but missing mode");
|
||||
__errordecl(__creat_too_many_args, "too many arguments");
|
||||
|
||||
|
Reference in New Issue
Block a user