facf0c92e0
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.
13 lines
321 B
C
13 lines
321 B
C
extern void abort (void);
|
|
|
|
/* Since GCC 5 folds symbol address comparison, assuming each symbol has
|
|
different address, &foo == &bar is always false for GCC 5. Use
|
|
check_ptr_eq to check if two functions are the same. */
|
|
|
|
void
|
|
check_ptr_eq (void (*f1) (void), void (*f2) (void))
|
|
{
|
|
if (f1 != f2)
|
|
abort ();
|
|
}
|