]> git.marmaro.de Git - mmh/blobdiff - uip/dp.c
redesign version string
[mmh] / uip / dp.c
index 1cbb7ed5d0b7dd9e1a14651968dbddad6746a3c2..70162b2a0b1055b5134a5032fc08f101d9397765 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)