]> diplodocus.org Git - nmh/blobdiff - sbr/makedir.c
Makefile.am: Alter long lists to be sorted, one entry per line.
[nmh] / sbr / makedir.c
index 6d3f0dc315525c111a44c6f69b6f589c729b4ae5..165fc4f0df95aa2276100a4ea50123e9e3f7e9e7 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * makedir.c -- make a directory
+/* makedir.c -- make a directory
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -21,7 +19,7 @@ makedir (const char *dir)
     char*           folder_perms_ASCII;
     int             had_an_error = 0;
     mode_t          folder_perms, saved_umask;
-    register char*  c;
+    char*  c;
 
     context_save();     /* save the context file */
     fflush(stdout);
@@ -73,6 +71,5 @@ makedir (const char *dir)
 
     if (had_an_error)
         return 0;  /* opposite of UNIX error return convention */
-    else
-        return 1;
+    return 1;
 }