1extern int inside_main; 2 3__attribute__ ((__noinline__)) 4void 5bzero (void *s, __SIZE_TYPE__ n) 6{ 7 char *p; 8 9 for (p = s; n-- > 0; p++) 10 *p = 0; 11 12#ifdef __OPTIMIZE__ 13 if (inside_main) 14 abort (); 15#endif 16} 17
1extern int inside_main; 2 3__attribute__ ((__noinline__)) 4void 5bzero (void *s, __SIZE_TYPE__ n) 6{ 7 char *p; 8 9 for (p = s; n-- > 0; p++) 10 *p = 0; 11 12#ifdef __OPTIMIZE__ 13 if (inside_main) 14 abort (); 15#endif 16} 17