diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-08-28 09:44:19 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-08-28 09:44:19 +0530 |
commit | 3a3092398356c90788479fa75524a491e9d860cd (patch) | |
tree | 83a0cd929d93b06ef5dfd8f6055f4c61f2ceaf9a /nscd | |
parent | 3b813b29653a3ebfd78c2529127a9967d8f2857d (diff) | |
download | glibc-3a3092398356c90788479fa75524a491e9d860cd.zip glibc-3a3092398356c90788479fa75524a491e9d860cd.tar.gz glibc-3a3092398356c90788479fa75524a491e9d860cd.tar.bz2 |
Use __glibc_unlikely instead of __builtin_expect (..., 0)
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/aicache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/aicache.c b/nscd/aicache.c index dceb4d6..fd55852 100644 --- a/nscd/aicache.c +++ b/nscd/aicache.c @@ -102,7 +102,7 @@ addhstaiX (struct database_dyn *db, int fd, request_header *req, "dns [!UNAVAIL=return] files", &nip); /* Initialize configurations. */ - if (__builtin_expect (!_res_hconf.initialized, 0)) + if (__glibc_unlikely (!_res_hconf.initialized)) _res_hconf_init (); if (__res_maybe_init (&_res, 0) == -1) no_more = 1; |