Protect C language extensions with two leading and trailing underscores

This should make their usage safer against user macros.
This commit is contained in:
Guillem Jover
2018-06-18 00:36:44 +02:00
parent c2d9d84088
commit 574c7a1365
6 changed files with 15 additions and 12 deletions

View File

@@ -6,7 +6,7 @@
#include <string.h>
__attribute__((weak)) void
__attribute__((__weak__)) void
__explicit_bzero_hook(void *buf, size_t len)
{
}