From 3a3092398356c90788479fa75524a491e9d860cd Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 28 Aug 2013 09:44:19 +0530 Subject: Use __glibc_unlikely instead of __builtin_expect (..., 0) --- nscd/aicache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd') diff --git a/nscd/aicache.c b/nscd/aicache.c index dceb4d679e..fd55852ed8 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; -- cgit 1.4.1