]> diplodocus.org Git - nmh/blobdiff - sbr/atooi.c
Fix invalid pointer arithmetic.
[nmh] / sbr / atooi.c
index 353a5c1566d5ea96356c5779d3056077636304b5..128f917c2ee044ce015ea33a27f93ece7b92a0c8 100644 (file)
@@ -1,8 +1,4 @@
-
-/*
- * atooi.c -- octal version of atoi()
- *
- * $Id$
+/* atooi.c -- octal version of atoi()
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -15,7 +11,7 @@
 int
 atooi(char *cp)
 {
-    register int i, base;
+    int i, base;
 
     i = 0;
     base = 8;