fix sccsid to use keywords and modern initialization syntax
[unix-history] / usr / src / usr.bin / mail / vars.c
index 6455a17..3d82f73 100644 (file)
@@ -1,4 +1,12 @@
-#
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char *sccsid = "@(#)vars.c      5.2 (Berkeley) %G%";
+#endif not lint
 
 #include "rcv.h"
 
 
 #include "rcv.h"
 
@@ -8,8 +16,6 @@
  * Variable handling stuff.
  */
 
  * Variable handling stuff.
  */
 
-static char *SccsId = "@(#)vars.c      2.3 %G%";
-
 /*
  * Assign a value to a variable.
  */
 /*
  * Assign a value to a variable.
  */
@@ -149,7 +155,7 @@ printgroup(name)
 hash(name)
        char name[];
 {
 hash(name)
        char name[];
 {
-       register int h;
+       register unsigned h;
        register char *cp;
 
        for (cp = name, h = 0; *cp; h = (h << 2) + *cp++)
        register char *cp;
 
        for (cp = name, h = 0; *cp; h = (h << 2) + *cp++)