Index: uspace/lib/c/include/assert.h
===================================================================
--- uspace/lib/c/include/assert.h	(revision 955f2a57490a386f4fbaee3277e4bd761f17dd29)
+++ uspace/lib/c/include/assert.h	(revision 2bdf83130b54ce60b13639e8b922b22f02ed8cc7)
@@ -47,4 +47,7 @@
  */
 
+#define STR(l)	#l
+#define STR2(l)	STR(l)
+
 #ifndef NDEBUG
 
@@ -52,12 +55,5 @@
 	do { \
 		if (!(expr)) \
-			assert_abort(#expr, __FILE__, __LINE__); \
-	} while (0)
-
-#define assert_static(expr) \
-	do { \
-		if (!(expr)) \
-			assert_static_abort("Assertion failed (" #expr \
-			    ") in file \"" __FILE__ "\".\n"); \
+			assert_abort(#expr, __FILE__, STR2(__LINE__)); \
 	} while (0)
 
@@ -65,11 +61,9 @@
 
 #define assert(expr)
-#define assert_static(expr)
 
 #endif /* NDEBUG */
 
-extern void assert_abort(const char *, const char *, unsigned int)
+extern void assert_abort(const char *, const char *, const char *)
     __attribute__((noreturn));
-extern void assert_static_abort(const char *);
 
 
