From 1cd5461a5375207602f2cbdfd9a50a9b751cb7c8 Mon Sep 17 00:00:00 2001 From: Trutz Behn Date: Wed, 3 Jun 2015 19:27:01 +0200 Subject: Use namespace-safe macro, param and variable names --- include/sys/select.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/sys/select.h') diff --git a/include/sys/select.h b/include/sys/select.h index 0f1e1df..4623071 100644 --- a/include/sys/select.h +++ b/include/sys/select.h @@ -25,23 +25,23 @@ extern "C" { #endif static __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) -void __fortify_FD_CLR(int fd, fd_set *set) +void __fortify_FD_CLR(int __f, fd_set *__s) { - size_t bos = __builtin_object_size(set, 0); + size_t __b = __builtin_object_size(__s, 0); - if (fd < 0 || fd >= FD_SETSIZE || bos < sizeof(fd_set)) + if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) __builtin_trap(); - FD_CLR(fd, set); + FD_CLR(__f, __s); } static __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) -void __fortify_FD_SET(int fd, fd_set *set) +void __fortify_FD_SET(int __f, fd_set *__s) { - size_t bos = __builtin_object_size(set, 0); + size_t __b = __builtin_object_size(__s, 0); - if (fd < 0 || fd >= FD_SETSIZE || bos < sizeof(fd_set)) + if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) __builtin_trap(); - FD_SET(fd, set); + FD_SET(__f, __s); } #undef FD_CLR -- cgit v1.3