ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
26 lines
424 B
C
26 lines
424 B
C
extern void abort(void);
|
|
extern void main_test (void);
|
|
extern void abort (void);
|
|
int inside_main;
|
|
|
|
int
|
|
main ()
|
|
{
|
|
inside_main = 1;
|
|
main_test ();
|
|
inside_main = 0;
|
|
return 0;
|
|
}
|
|
|
|
/* When optimizing, all the constant cases should have been
|
|
constant folded, so no calls to link_error should remain.
|
|
In any case, link_error should not be called. */
|
|
|
|
#ifndef __OPTIMIZE__
|
|
void
|
|
link_error (void)
|
|
{
|
|
abort ();
|
|
}
|
|
#endif
|