api: ifdef out fmtmsg.c and ndbm.c, fix stupid gcc messages
[libc-test] / src / api / fmtmsg.c
index 1c79c84..0371a5f 100644 (file)
@@ -1,4 +1,4 @@
-#ifdef _XOPEN_SOURCE
+#if 0
 #include <fmtmsg.h>
 #define C(n) switch(n){case n:;}
 static void f()
@@ -22,6 +22,6 @@ C(MM_OK)
 C(MM_NOTOK)
 C(MM_NOMSG)
 C(MM_NOCON)
-int(*p_fmtmsg)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;
+{int(*p)(long,const char*,int,const char*,const char*,const char*) = fmtmsg;}
 }
 #endif