diff options
| -rw-r--r-- | include/errno.h | 3 | ||||
| -rw-r--r-- | include/netdb.h | 3 | ||||
| -rw-r--r-- | include/pthread.h | 3 | 
3 files changed, 0 insertions, 9 deletions
diff --git a/include/errno.h b/include/errno.h index 0361b33a..93f5f6ec 100644 --- a/include/errno.h +++ b/include/errno.h @@ -9,9 +9,6 @@ extern "C" {  #include <bits/errno.h> -#ifdef __GNUC__ -__attribute__((const)) -#endif  int *__errno_location(void);  #define errno (*__errno_location()) diff --git a/include/netdb.h b/include/netdb.h index 703a4b26..47940684 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -122,9 +122,6 @@ struct protoent *getprotobynumber (int);   || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700)  struct hostent *gethostbyname (const char *);  struct hostent *gethostbyaddr (const void *, socklen_t, int); -#ifdef __GNUC__ -__attribute__((const)) -#endif  int *__h_errno_location(void);  #define h_errno (*__h_errno_location())  #define HOST_NOT_FOUND 1 diff --git a/include/pthread.h b/include/pthread.h index 99a74a53..af70b739 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -79,9 +79,6 @@ int pthread_detach(pthread_t);  _Noreturn void pthread_exit(void *);  int pthread_join(pthread_t, void **); -#ifdef __GNUC__ -__attribute__((const)) -#endif  pthread_t pthread_self(void);  int pthread_equal(pthread_t, pthread_t);  | 
