Use glibc_likely instead __builtin_expect.
[jlayton/glibc.git] / posix / getopt.c
index 2d481f1c7f98fa7a5d90d9fcc17b8292177a0b6d..a859acb67a8663d40143597c3f3b0de350be829a 100644 (file)
@@ -601,7 +601,7 @@ _getopt_internal_r (int argc, char *const *argv, const char *optstring,
 
                  fputc_unlocked ('\n', fp);
 
-                 if (__builtin_expect (fclose (fp) != EOF, 1))
+                 if (__glibc_likely (fclose (fp) != EOF))
                    {
                      _IO_flockfile (stderr);