Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / h8300hms / crt1.c
blobbd4ccf2d8b4e28db88f86dea6e89a4d2084957e7
1 void __main ()
3 #ifndef __ELF__
4 static int initialized;
5 if (! initialized)
7 typedef void (*pfunc) ();
8 extern pfunc __ctors[];
9 extern pfunc __ctors_end[];
10 pfunc *p;
12 initialized = 1;
13 for (p = __ctors_end; p > __ctors; )
14 (*--p) ();
17 #endif