headers: avoid bareword attributes

Always use the __-decorated form of an attribute name in public
headers, as the bareword form is in the user's namespace, and we
don't want compilation to break just because the user defines the
bareword to mean something else.

Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Eric Blake
2017-08-16 20:39:18 -05:00
parent 7b3d8b9485
commit 979d467ff6
2 changed files with 15 additions and 15 deletions

View File

@ -35,7 +35,7 @@
extern char **environ;
void _exit(int status) _ATTRIBUTE ((noreturn));
void _exit(int status) _ATTRIBUTE ((__noreturn__));
int access(const char *pathname, int mode);
unsigned int alarm(unsigned seconds);