mh_xstrdup arguments now const
[mmh] / uip / dp.c
index 1cbb7ed..70162b2 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -26,6 +26,8 @@ static struct swit switches[] = {
        { NULL, 0 }
 };
 
+char *version=VERSION;
+
 static struct format *fmt;
 
 static int dat[5];
@@ -112,7 +114,7 @@ process(char *date)
 {
        int status = 0;
        char buffer[BUFSIZ + 1];
-       register struct comp *cptr;
+       struct comp *cptr;
 
        FINDCOMP(cptr, "text");
        if (cptr)