]> diplodocus.org Git - nmh/blobdiff - uip/annosbr.c
sbr/vector.c: Zero the growth with memset(3), not loop.
[nmh] / uip / annosbr.c
index 9d73a0945be720c0d80d2d7a961111d28a8872a1..aaf3aad12680ffa4581f357843aa5b172a94cd21 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * annosbr.c -- prepend annotation to messages
+/* annosbr.c -- prepend annotation to messages
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -143,7 +141,7 @@ annolist(char *file, char *comp, char *text, int number)
            if (text == NULL && (sp = strrchr(cp, '/')) != (char *)0)
                cp = sp + 1;
 
-           (void)printf("%s\n", cp);
+            puts(cp);
        }
 
     } while (*field != '\0' && *field != '-');
@@ -155,8 +153,6 @@ annolist(char *file, char *comp, char *text, int number)
     free(field);
 
     (void)fclose(fp);
-
-    return;
 }
 
 /*
@@ -167,7 +163,6 @@ void
 annopreserve(int preserve)
 {
        preserve_actime_and_modtime = preserve;
-       return;
 }
 
 static int