powerpc: Fix ifuncmain6pie failure with GCC 4.9
[platform/upstream/glibc.git] / string / bug-strpbrk1.c
index 7d5eef8..28238b0 100644 (file)
@@ -1,4 +1,5 @@
 /* Test case by Joseph S. Myers <jsm28@cam.ac.uk>.  */
+#undef __USE_STRING_INLINES
 #define __USE_STRING_INLINES
 #include <string.h>
 #include <stdlib.h>
@@ -12,7 +13,7 @@ main (void)
 
   strpbrk (b++, "");
   if (b != a + 1)
-    exit (1);
+    return 1;
 
-  exit (0);
+  return 0;
 }