Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].

diff --git a/memory/atom.c b/memory/atom.c
index f64055b..67c356f 100644
--- a/memory/atom.c
+++ b/memory/atom.c
@@ -354,7 +354,7 @@
 
     if (CURRENT_DS == ATOM_UserDS) return GlobalFindAtomA( str );
 
-    TRACE("%s\n",debugres_a(str));
+    TRACE("%s\n",debugstr_a(str));
 
     if (ATOM_IsIntAtomA( str, &iatom )) return iatom;
     if ((len = strlen( str )) > 255) len = 255;
@@ -451,7 +451,7 @@
         }
         SERVER_END_REQ;
     }
-    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugres_a(str), atom );
+    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugstr_a(str), atom );
     return atom;
 }
 
@@ -506,7 +506,7 @@
         }
         SERVER_END_REQ;
     }
-    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugres_w(str), atom );
+    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugstr_w(str), atom );
     return atom;
 }
 
@@ -598,7 +598,7 @@
         }
         SERVER_END_REQ;
     }
-    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugres_a(str), atom );
+    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugstr_a(str), atom );
     return atom;
 }
 
@@ -652,7 +652,7 @@
         }
         SERVER_END_REQ;
     }
-    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugres_w(str), atom );
+    TRACE( "(%s) %s -> %x\n", local ? "local" : "global", debugstr_w(str), atom );
     return atom;
 }