BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / 7ae31b03c38925f5d527e6303765925586731209 / screen.h

// Related

Orion

Barry Moving signal handlers into separate namespace 7ae31b0 (2 years, 4 months ago)
diff --git a/screen.h b/screen.h
index 3fbda71..d77b29f 100644
--- a/screen.h
+++ b/screen.h
@@ -7,7 +7,7 @@ void kprintf(char *fmt, ...);
 void dbgprintf(char *msg);
 
 #define ASSERT(c)  ({ \
-        if (!(c)) \
+        if (__builtin_expect(!(c),0)) \
         	panic("Assertion failed (%s:%d): " #c, \
         	      __FILE__, __LINE__); \
         c; \