Cleanup up non-prototyped functions (static) and const-correctness

More fixes based on the compiler directives -Wcast-qual -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations. Not everything with regards
to -Wcast-qual has been fixed as some have unwanted consequences for the
rest of the code.
diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function
index c4c1790..b23d3ff 100644
--- a/tests/suites/helpers.function
+++ b/tests/suites/helpers.function
@@ -28,7 +28,7 @@
 }
 #endif
 
-int unhexify(unsigned char *obuf, const char *ibuf)
+static int unhexify(unsigned char *obuf, const char *ibuf)
 {
     unsigned char c, c2;
     int len = strlen(ibuf) / 2;
@@ -62,7 +62,7 @@
     return len;
 }
 
-void hexify(unsigned char *obuf, const unsigned char *ibuf, int len)
+static void hexify(unsigned char *obuf, const unsigned char *ibuf, int len)
 {
     unsigned char l, h;