]> diplodocus.org Git - nmh/blobdiff - sbr/atooi.c
scansbr.c: Move interface to own file.
[nmh] / sbr / atooi.c
index d62de1708fe5943e843a169fb62e7f40d028fb90..e06e1b4e1a2d74c2f11eb8ab1c0a31047b1d6f03 100644 (file)
@@ -1,19 +1,18 @@
-
-/*
- * atooi.c -- octal version of atoi()
+/* 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
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "atooi.h"
 
 
 int
 atooi(char *cp)
 {
-    register int i, base;
+    int i, base;
 
     i = 0;
     base = 8;