removed a couple of warning try to solve the linking problem on platforms

* catalog.c xmlcatalog.c: removed a couple of warning
* xpath.c: try to solve the linking problem on platforms
  needing trio to compile
Daniel
diff --git a/xpath.c b/xpath.c
index 062e6c6..fd44e1a 100644
--- a/xpath.c
+++ b/xpath.c
@@ -68,7 +68,9 @@
  * 									*
  ************************************************************************/
 
+#ifndef TRIO_REPLACE_STDIO
 #define TRIO_PUBLIC static
+#endif
 #include "trionan.c"
 
 /*